Commit | Line | Data |
---|---|---|
3a1a282a KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
c67c9d58 | 5 | .\" @(#)strings.1 6.4 (Berkeley) %G% |
3a1a282a | 6 | .\" |
fdb732b2 | 7 | .TH STRINGS 1 "" |
3a1a282a KM |
8 | .UC |
9 | .SH NAME | |
e8d9c970 | 10 | strings \- find the printable strings in a file |
3a1a282a KM |
11 | .SH SYNOPSIS |
12 | .B strings | |
13 | [ | |
e8d9c970 | 14 | .B \-ao |
3a1a282a KM |
15 | ] [ |
16 | \fB\-\fInumber\fR | |
e8d9c970 | 17 | ] [ file ... ] |
3a1a282a | 18 | .SH DESCRIPTION |
e8d9c970 KB |
19 | \fIStrings\fP looks for ascii strings in each of the specified files, |
20 | or from the standard input. A string is any sequence of 4 or more printing | |
21 | characters. Unless the \fB-a\fP flag is given, \fIstrings\fP only looks | |
22 | in the initialized data space of object files. If the \fB-o\fP flag is | |
c67c9d58 KB |
23 | given, then each string is preceded by its decimal offset in the file. |
24 | If the \fB-\fInumber\fR flag is given, then \fInumber\fP is used as the | |
25 | minimum string length rather than 4. | |
3a1a282a | 26 | .PP |
e8d9c970 KB |
27 | \fIStrings\fP is useful for identifying random object files and |
28 | many other things. | |
3a1a282a KM |
29 | .SH "SEE ALSO" |
30 | od(1) | |
31 | .SH BUGS | |
570d12e7 | 32 | The algorithm for identifying strings is extremely primitive. |