in reply to (jcwren) Re: (2) -w more than a warning?
in thread -w more than a warning?

You mean Perl? (:

perl -pi.dos -e 's/\r//'

Doing this under DOS is harder since you have to get the calls to binmode thrown in at the right places. I think you can check the FAQ for more info.

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
RE: (tye)Re: -w more than a warning?
by converter (Priest) on Oct 24, 2000 at 19:27 UTC

    Or, my favorite, just because it looks kind of magical:

    perl -015 -pi.dos -e 'chomp' filename