Strings (Unix): Difference between revisions

Content deleted Content added
mNo edit summary
replaced deprecated <tt> HTML with {{mono}}, found by Wikipedia:Typo Team/moss – you can help!
Line 23:
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 its output to <tt>{{mono|[[grep]]</tt>}} and <tt>{{mono|[[Fold (Unix)|fold]]</tt>}} or redirecting the output to a [[Computer file|file]].<ref>{{cite book
| last = Kiddle
| first = Oliver
Line 37:
| url = https://www.apress.com/gp/book/9781590593769}}</ref>
 
It is part of the [[GNU Binary Utilities]] (<tt>{{mono|binutils</tt>}}), and has been ported to other operating systems including [[Microsoft Windows|Windows]].<ref>[[cygwin]]</ref>
 
==Example==