version 1.2, 1996/06/26 05:39:30 |
version 1.3, 1998/09/27 16:57:54 |
|
|
.Op Fl t Ar radix |
.Op Fl t Ar radix |
.Op Ar file ... |
.Op Ar file ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Strings |
.Nm strings |
displays the sequences of printable characters in each of the specified |
displays the sequences of printable characters in each of the specified |
files, or in the standard input, by default. |
files, or in the standard input, by default. |
By default, a sequence must be at least four characters in length |
By default, a sequence must be at least four characters in length |
|
|
.It Fl f |
.It Fl f |
Each string is preceded by the name of the file |
Each string is preceded by the name of the file |
in which it was found. |
in which it was found. |
.It Fl n |
.It Fl n Ar number |
Specifies the minimum number of characters in a sequence to be |
Specifies the minimum number of characters in a sequence to be |
.Ar number , |
.Ar number , |
instead of four. |
instead of four. |
.It Fl o |
.It Fl o |
Each string is preceded by its octal offset in the file. |
Each string is preceded by its octal offset in the file. |
.It Fl t |
.It Fl t Ar radix |
Each string is preceded by its offset in the file. The first character of |
Each string is preceded by its offset in the file. The first character of |
.Ar radix |
.Ar radix |
determines the radix of the offset: |
determines the radix of the offset: |
|
|
for hexadecimal. |
for hexadecimal. |
.El |
.El |
.Pp |
.Pp |
.Nm Strings |
.Nm strings |
is useful for identifying random binaries, among other things. |
is useful for identifying random binaries, among other things. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr hexdump 1 , |
.Xr hexdump 1 , |