Front page | perl.perl5.porters |
Postings from October 1999
binmode for STDIN
Thread Next
From:
Konovalov, Vadim
Date:
October 29, 1999 02:29
Subject:
binmode for STDIN
Message ID:
402099F49BEED211999700805FC7359F2749B8@ru0028exch01.spb.lucent.com
Hello.
I think it will be a good idea to implement a special option that makes
binmode for STDIN and STDOUT. It have (almost) no sence to unix systems, but
pretty useful for win32 one-liners, so we can safely write
perl -b0777ne "tr{xyz}{abc};print" ifile>ofile
(supposed this option is '-b')
and don't worry about \r-\n-stuff
It is probably easy to implement, so don't porters will be argued against
that?
Good luck,
Vadim.
Thread Next
-
binmode for STDIN
by Konovalov, Vadim