summaryrefslogtreecommitdiff
path: root/usr.bin/strings
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/strings')
-rw-r--r--usr.bin/strings/strings.120
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/strings/strings.1 b/usr.bin/strings/strings.1
index 3a956ea3516..1ca6a5d40fa 100644
--- a/usr.bin/strings/strings.1
+++ b/usr.bin/strings/strings.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strings.1,v 1.3 1998/09/27 16:57:54 aaron Exp $
+.\" $OpenBSD: strings.1,v 1.4 1999/06/05 01:21:41 aaron Exp $
.\" $NetBSD: strings.1,v 1.4 1994/12/10 11:54:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -47,7 +47,7 @@
.Op Fl t Ar radix
.Op Ar file ...
.Sh DESCRIPTION
-.Nm strings
+.Nm
displays the sequences of printable characters in each of the specified
files, or in the standard input, by default.
By default, a sequence must be at least four characters in length
@@ -57,12 +57,12 @@ The options are as follows:
.Bl -tag -width Ds
.It Fl a
By default,
-.Nm strings
+.Nm
only searches the text and data segments of object files.
The
.Fl a
option causes
-.Nm strings
+.Nm
to search the entire object file.
.It Fl f
Each string is preceded by the name of the file
@@ -76,16 +76,16 @@ Each string is preceded by its octal offset in the file.
.It Fl t Ar radix
Each string is preceded by its offset in the file. The first character of
.Ar radix
-determines the radix of the offset:
+determines the radix of the offset:
.Sq o
-for octal;
+for octal;
.Sq d
-for decimal; or
+for decimal; or
.Sq x
for hexadecimal.
.El
.Pp
-.Nm strings
+.Nm
is useful for identifying random binaries, among other things.
.Sh SEE ALSO
.Xr hexdump 1 ,
@@ -100,11 +100,11 @@ Historic implementations of
.Nm
only search the initialized data portion of the object file.
This was reasonable as strings were normally stored there.
-Given new compiler technology which installs strings in the
+Given new compiler technology which installs strings in the
text portion of the object file, the default behavior was
changed.
.Sh STANDARDS
-The
+The
.Nm
utility conforms to
.St -p1003.2-92 .