Penguin
Annotated edit history of strings(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 STRINGS
2 !!!STRINGS
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 SEE ALSO
8 COPYRIGHT
9 ----
10 !!NAME
11
12
13 strings - print the strings of printable characters in files.
14 !!SYNOPSIS
15
16
17 strings [[__-afov__] [[__-__''min-len''] [[__-n__
18 ''min-len''] [[__--bytes=__''min-len''] [[__-t__
19 ''radix''] [[__--radix=__''radix''] [[__-e__
20 ''encoding''] [[__--encoding=__''encoding'']
21 [[__-__] [[__--all__] [[__--print-file-name__]
22 [[__--target=__''bfdname''] [[__--help__]
23 [[__--version__] ''file''...
24 !!DESCRIPTION
25
26
27 For each ''file'' given, GNU
28 __strings__ prints the printable character sequences that
29 are at least 4 characters long (or the number given with the
30 options below) and are followed by an unprintable character.
31 By default, it only prints the strings from the initialized
32 and loaded sections of object files; for other types of
33 files, it prints the strings from the whole
34 file.
35
36
37 __strings__ is mainly useful for determining the contents
38 of non-text files.
39 !!OPTIONS
40
41
42 __-a__
43
44
45 __--all__
46
47
48 __-__
49
50
51 Do not scan only the initialized and loaded sections of
52 object files; scan the whole files.
53
54
55 __-f__
56
57
58 __--print-file-name__
59
60
61 Print the name of the file before each string.
62
63
64 __--help__
65
66
67 Print a summary of the program usage on the standard output
68 and exit.
69
70
71 __-__''min-len''
72
73
74 __-n__ ''min-len''
75
76
77 __--bytes=__''min-len''
78
79
80 Print sequences of characters that are at least
81 ''min-len'' characters long, instead of the default
82 4.
83
84
85 __-o__
86
87
88 Like __-t o__. Some other versions of __strings__ have
89 __-o__ act like __-t d__ instead. Since we can not be
90 compatible with both ways, we simply chose one.
91
92
93 __-t__ ''radix''
94
95
96 __--radix=__''radix''
97
98
99 Print the offset within the file before each string. The
100 single character argument specifies the radix of the
101 offset---__o__ for octal, __x__ for hexadecimal, or
102 __d__ for decimal.
103
104
105 __-e__ ''encoding''
106
107
108 __--encoding=__''encoding''
109
110
111 Select the character encoding of the strings that are to be
112 found. Possible values for ''encoding'' are: __s__ =
113 single-byte characters ( ASCII ,
114 ISO 8859, etc., default), __b__ = 16-bit
115 Bigendian, __l__ = 16-bit Littleendian, __B__ = 32-bit
116 Bigendian, __L__ = 32-bit Littleendian. Useful for
117 finding wide character strings.
118
119
120 __--target=__''bfdname''
121
122
123 Specify an object code format other than your system's
124 default format.
125
126
127 __-v__
128
129
130 __--version__
131
132
133 Print the program version number on the standard output and
134 exit.
135 !!SEE ALSO
136
137
138 ar(1), nm(1), objdump(1),
139 ranlib(1), readelf(1) and the Info entries for
140 ''binutils''.
141 !!COPYRIGHT
142
143
144 Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000,
145 2001, 2002 Free Software Foundation, Inc.
146
147
148 Permission is granted to copy, distribute and/or modify this
149 document under the terms of the GNU Free
150 Documentation License, Version 1.1 or any later version
151 published by the Free Software Foundation; with no Invariant
152 Sections, with no Front-Cover Texts, and with no Back-Cover
153 Texts. A copy of the license is included in the section
154 entitled `` GNU Free Documentation
155 License''.
156 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.