strings(1) GNU Development Tools strings(1) NNAAMMEE strings - print the strings of printable characters in files SSYYNNOOPPSSIISS ssttrriinnggss [--aa|--|----aallll] [--ff|----pprriinntt--ffiillee--nnaammee] [--oo] [----hheellpp] [--vv|----vveerrssiioonn] [--nn _m_i_n_-_l_e_n|_-_m_i_n_-_l_e_n|----bbyytteess==_m_i_n_-_l_e_n] [--tt _{_o_,_x_,_d_}[----ttaarrggeett==_b_f_d_n_a_m_e] |----rraaddiixx==_{_o_,_x_,_d_}] _f_i_l_e DDEESSCCRRIIPPTTIIOONN For each _f_i_l_e given, GNU ssttrriinnggss prints the printable character sequences that are at least 4 characters long (or the number given with the options below) and are fol- lowed by a NUL or newline character. By default, it only prints the strings from the initialized data sections of object files; for other types of files, it prints the strings from the whole file. ssttrriinnggss is mainly useful for determining the contents of non-text files. OOPPTTIIOONNSS The long and short forms of options, shown here as alter- natives, are equivalent. --aa ----aallll -- Do not scan only the initialized data section of object files; scan the whole files. --ff ----pprriinntt--ffiillee--nnaammee Print the name of the file before each string. ----hheellpp Print a summary of the options to ssttrriinnggss on the standard output and exit. --vv ----vveerrssiioonn Print the version number of ssttrriinnggss on the standard output and exit. cygnus support 25 June 1993 1 strings(1) GNU Development Tools strings(1) --nn _m_i_n_-_l_e_n --_m_i_n_-_l_e_n --bbyytteess==_m_i_n_-_l_e_n Print sequences of characters that are at least _m_i_n_-_l_e_n characters long, instead of the default 4. --tt {o,x,d} ----rraaddiixx=={o,x,d} Print the offset within the file before each string. The single character argument specifies the radix of the offset--octal, hexadecimal, or decimal. ----ttaarrggeett==_b_f_d_n_a_m_e Specify an object code format other than your sys- tem's default format. See oobbjjdduummpp(11), for informa- tion on listing available formats. --oo Like --tt oo. SSEEEE AALLSSOO `bbiinnuuttiillss' entry in iinnffoo; _T_h_e _G_N_U _B_i_n_a_r_y _U_t_i_l_i_t_i_e_s, Roland H. Pesch (October 1991); aarr(11), nnmm(11), oobbjjdduummpp(11), rraann-- lliibb(11). CCOOPPYYIINNGG Copyright (c) 1993 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified ver- sions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above con- ditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original En- glish. cygnus support 25 June 1993 2 .