L
Larry
I am a big fan of Perl 1-liners and I even use them on Windows. One
thing that bugs me though is that there doesn't seem to be an easy way
to process binary files with 1 liners. It would be nice if there were
a command-line switch to turn on "binmode". As it is, I am forced to
use
perl -0777 -ne "BEGIN { binmode STDIN; binmode STDOUT } ... "
which is a lot of typing for a 1-liner.
thing that bugs me though is that there doesn't seem to be an easy way
to process binary files with 1 liners. It would be nice if there were
a command-line switch to turn on "binmode". As it is, I am forced to
use
perl -0777 -ne "BEGIN { binmode STDIN; binmode STDOUT } ... "
which is a lot of typing for a 1-liner.