Fun fact: In a hilarious misuse of the #! script interpreter mechanism, on Linux (and similar operating systems), if you put #!/bin/cat as the first line of a file and make it executable, it’ll dump itself to the current output channel when called by name.
Fun fact: In a hilarious misuse of the
#!
script interpreter mechanism, on Linux (and similar operating systems), if you put#!/bin/cat
as the first line of a file and make it executable, it’ll dump itself to the current output channel when called by name.Which is basically what you’re describing.
See also: Perl, which will try to interpret almost anything as legitimate code if you don’t tell it not to.
I’d go for
/usr/bin/strings
personally, then it’ll allow binary junk too!Omg it really does - how is that so cute??