[nSLUG] strings(1) overkill
montestevens at openmailbox.org
Tue Dec 13 06:51:14 AST 2016
mspencer at tallships.ca (Mike Spencer) writes:
> [1:text/plain Hide]
> The manpage for strings(1) says:
> Strings displays the sequences of printable characters in each of
> the specified files...
> but the definition of "printable" seems to have changed. In newer
> systems (newer versions of strings(1)?), I get lots of non-ASCII, e.g.
> é ÿÿÿÿ£
> (Dunno how that will render for you. In my Emacs it renders as
> printable but non-ASCII Roman chars, degree symbol and UKPound sign.)
> which is, in fact, binary stuff that I'm not looking for. Is there
> way to defeat this short of hacking the source or rolling my own?
Have you tried the 'encoding' option ( -e/ --encoding )?
More information about the nSLUG