Strings (Unix): Difference between revisions

Content deleted Content added
Vadmium (talk | contribs)
m ISBNs (Build KE)
Line 6:
Strings are recognized by looking for sequences of at least 4 (by default) printable characters terminating in a NUL character (that is, [[null-terminated string]]s). Some implementations provide options for determining what is recognized as a printable character, which is useful for finding non-ASCII and wide character text.
 
Common usage includes piping it to <tt>[[grep]]</tt> and <tt>[[Fold (Unix)|fold]]</tt> or redirecting the output to a [[Computer file|file]].<ref>{{cite book|last=Kiddle|first=Oliver |coauthors=Jerry Peek and Peter Stephenson|title=From Bash to Z Shell|origyear=2004|publisher=Apress|isbn=15905937661-59059-376-6|page=413}}</ref>
 
It is part of the [[GNU Binary Utilities]] (binutils), and has been ported to other operating systems including [[Microsoft Windows]].<ref>[[cygwin]]</ref>