BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / strings.0
CommitLineData
362b077f
C
1
2
3
4STRINGS(1) UNIX Programmer's Manual STRINGS(1)
5
6
7
8N\bNA\bAM\bME\bE
9 strings - find the printable strings in a file
10
11S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
12 s\bst\btr\bri\bin\bng\bgs\bs [ -\b-a\bao\bo ] [ -\b-_\bn_\bu_\bm_\bb_\be_\br ] [ file ... ]
13
14D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
15 _\bS_\bt_\br_\bi_\bn_\bg_\bs looks for ascii strings in each of the specified
16 files, or from the standard input. A string is any sequence
17 of 4 or more printing characters. Unless the -\b-a\ba flag is
18 given, _\bs_\bt_\br_\bi_\bn_\bg_\bs only looks in the initialized data space of
19 object files. If the -\b-o\bo flag is given, then each string is
20 preceded by its decimal offset in the file. If the -\b-_\bn_\bu_\bm_\bb_\be_\br
21 flag is given, then _\bn_\bu_\bm_\bb_\be_\br is used as the minimum string
22 length rather than 4.
23
24 _\bS_\bt_\br_\bi_\bn_\bg_\bs is useful for identifying random object files and
25 many other things.
26
27S\bSE\bEE\bE A\bAL\bLS\bSO\bO
28 od(1)
29
30B\bBU\bUG\bGS\bS
31 The algorithm for identifying strings is extremely primi-
32 tive.
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63Printed 7/9/88 December 3, 1986 1
64
65
66