2 ''' $RCSfile$$Revision$$Date$
5 ''' Revision 1.7 2001/03/25 20:32:25 nickc
6 ''' Automate generate on man pages
23 .ie \\n(.$>=3 .ne \\$3
39 ''' Set up \*(-- to give an unbreakable dash;
40 ''' string Tr holds user defined translation string.
41 ''' Bell System Logo is used as a dummy character.
47 .if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
48 .if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
51 ''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of
52 ''' \*(L" and \*(R", except that they are used on ".xx" lines,
53 ''' such as .IP and .SH, which do another additional levels of
54 ''' double-quote interpretation
83 .\" If the F register is turned on, we'll generate
84 .\" index entries out stderr for the following things:
89 .\" X<> Xref (embedded
90 .\" Of course, you have to process the output yourself
91 .\" in some meaninful fashion.
94 .tm Index:\\$1\t\\n%\t"\\$2"
99 .TH STRINGS.1 1 "binutils-2.11.90" "23/Mar/101" "GNU"
102 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
103 .de CQ \" put $1 in typewriter font
109 \\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7
112 .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2
113 . \" AM - accent mark definitions
115 . \" fudge factors for nroff and troff
124 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
130 . \" simple accents for nroff and troff
143 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
144 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
145 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
146 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
147 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
148 . ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10'
149 . ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m'
150 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
151 . ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10'
153 . \" troff and (daisy-wheel) nroff accents
154 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
155 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
156 .ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#]
157 .ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u'
158 .ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u'
159 .ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#]
160 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
161 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
162 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
163 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
164 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
165 .ds ae a\h'-(\w'a'u*4/10)'e
166 .ds Ae A\h'-(\w'A'u*4/10)'E
167 .ds oe o\h'-(\w'o'u*4/10)'e
168 .ds Oe O\h'-(\w'O'u*4/10)'E
169 . \" corrections for vroff
170 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
171 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
172 . \" for low resolution devices (crt and lpr)
173 .if \n(.H>23 .if \n(.V>19 \
177 . ds v \h'-1'\o'\(aa\(ga'
193 strings \- print the strings of printable characters in files.
195 strings [\-afov] [\-\fImin-len\fR] [\-n \fImin-len\fR] [\-t \fIradix\fR] [\-]
196 [--all] [--print-file-name] [--bytes=\fImin-len\fR]
197 [--radix=\fIradix\fR] [--target=\fIbfdname\fR]
198 [--help] [--version] \fIfile\fR...
200 For each \fIfile\fR given, GNU \f(CWstrings\fR prints the printable
201 character sequences that are at least 4 characters long (or the number
202 given with the options below) and are followed by an unprintable
203 character. By default, it only prints the strings from the initialized
204 and loaded sections of object files; for other types of files, it prints
205 the strings from the whole file.
207 \f(CWstrings\fR is mainly useful for determining the contents of non-text
211 .Ip "\f(CW--all\fR" 4
213 Do not scan only the initialized and loaded sections of object files;
214 scan the whole files.
216 .Ip "\f(CW--print-file-name\fR" 4
217 Print the name of the file before each string.
218 .Ip "\f(CW--help\fR" 4
219 Print a summary of the program usage on the standard output and exit.
220 .Ip "\f(CW-\fImin-len\fR\fR" 4
221 .Ip "\f(CW-n \fImin-len\fR\fR" 4
222 .Ip "\f(CW--bytes=\fImin-len\fR\fR" 4
223 Print sequences of characters that are at least \fImin-len\fR characters
224 long, instead of the default 4.
226 Like \fB\-t o\fR. Some other versions of \f(CWstrings\fR have \fB\-o\fR
227 act like \fB\-t d\fR instead. Since we can not be compatible with both
228 ways, we simply chose one.
229 .Ip "\f(CW-t \fIradix\fR\fR" 4
230 .Ip "\f(CW--radix=\fIradix\fR\fR" 4
231 Print the offset within the file before each string. The single
232 character argument specifies the radix of the offset---\fBo\fR for
233 octal, \fBx\fR for hexadecimal, or \fBd\fR for decimal.
234 .Ip "\f(CW--target=\fIbfdname\fR\fR" 4
235 Specify an object code format other than your system's default format.
237 .Ip "\f(CW--version\fR" 4
238 Print the program version number on the standard output and exit.
240 \fIar\fR\|(1), \fInm\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), \fIreadelf\fR\|(1)
241 and the Info entries for \fIbinutils\fR.
243 Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
245 Permission is granted to copy, distribute and/or modify this document
246 under the terms of the GNU Free Documentation License, Version 1.1
247 or any later version published by the Free Software Foundation;
248 with no Invariant Sections, with no Front-Cover Texts, and with no
249 Back-Cover Texts. A copy of the license is included in the
250 section entitled \*(L"GNU Free Documentation License\*(R".
253 .IX Title "STRINGS.1 1"
254 .IX Name "strings - print the strings of printable characters in files."
258 .IX Header "SYNOPSIS"
260 .IX Header "DESCRIPTION"
264 .IX Item "\f(CW-a\fR"
266 .IX Item "\f(CW--all\fR"
270 .IX Item "\f(CW-f\fR"
272 .IX Item "\f(CW--print-file-name\fR"
274 .IX Item "\f(CW--help\fR"
276 .IX Item "\f(CW-\fImin-len\fR\fR"
278 .IX Item "\f(CW-n \fImin-len\fR\fR"
280 .IX Item "\f(CW--bytes=\fImin-len\fR\fR"
282 .IX Item "\f(CW-o\fR"
284 .IX Item "\f(CW-t \fIradix\fR\fR"
286 .IX Item "\f(CW--radix=\fIradix\fR\fR"
288 .IX Item "\f(CW--target=\fIbfdname\fR\fR"
290 .IX Item "\f(CW-v\fR"
292 .IX Item "\f(CW--version\fR"
294 .IX Header "SEE ALSO"
296 .IX Header "COPYRIGHT"