mv more tahoe stuff to machdep; clk_enable was dup;
[unix-history] / usr / src / usr.bin / strings / strings.1
... / ...
CommitLineData
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.\"
5.\" @(#)strings.1 6.4 (Berkeley) %G%
6.\"
7.TH STRINGS 1 ""
8.UC
9.SH NAME
10strings \- find the printable strings in a file
11.SH SYNOPSIS
12.B strings
13[
14.B \-ao
15] [
16\fB\-\fInumber\fR
17] [ file ... ]
18.SH DESCRIPTION
19\fIStrings\fP looks for ascii strings in each of the specified files,
20or from the standard input. A string is any sequence of 4 or more printing
21characters. Unless the \fB-a\fP flag is given, \fIstrings\fP only looks
22in the initialized data space of object files. If the \fB-o\fP flag is
23given, then each string is preceded by its decimal offset in the file.
24If the \fB-\fInumber\fR flag is given, then \fInumber\fP is used as the
25minimum string length rather than 4.
26.PP
27\fIStrings\fP is useful for identifying random object files and
28many other things.
29.SH "SEE ALSO"
30od(1)
31.SH BUGS
32The algorithm for identifying strings is extremely primitive.