BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / strings.0
STRINGS(1) UNIX Programmer's Manual STRINGS(1)
N\bNA\bAM\bME\bE
strings - find the printable strings in a file
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
s\bst\btr\bri\bin\bng\bgs\bs [ -\b-a\bao\bo ] [ -\b-_\bn_\bu_\bm_\bb_\be_\br ] [ file ... ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bS_\bt_\br_\bi_\bn_\bg_\bs looks for ascii strings in each of the specified
files, or from the standard input. A string is any sequence
of 4 or more printing characters. Unless the -\b-a\ba flag is
given, _\bs_\bt_\br_\bi_\bn_\bg_\bs only looks in the initialized data space of
object files. If the -\b-o\bo flag is given, then each string is
preceded by its decimal offset in the file. If the -\b-_\bn_\bu_\bm_\bb_\be_\br
flag is given, then _\bn_\bu_\bm_\bb_\be_\br is used as the minimum string
length rather than 4.
_\bS_\bt_\br_\bi_\bn_\bg_\bs is useful for identifying random object files and
many other things.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
od(1)
B\bBU\bUG\bGS\bS
The algorithm for identifying strings is extremely primi-
tive.
Printed 7/9/88 December 3, 1986 1