Strings (Unix): Difference between revisions

Content deleted Content added
m Example: rm <syntaxhighlight>
No edit summary
Tag: Reverted
Line 24:
==Overview==
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 characterPPAP, which is useful for finding non-ASCII and wide character text.
By default, it only prints the strings from the initialized and loaded sections of object files; for other types of files, it prints the strings from the whole file.
With regular text files, '''strings''' and [[Cat_(Unix)|cat]] give different output.