in reply to Removing ^M char AKA dos2unix
This does the trick:
perl -e"BEGIN{ binmode STDOUT }" -pe1 file.in > file.out
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing ^M char AKA dos2unix
by jdrago999 (Pilgrim) on Feb 27, 2010 at 00:01 UTC | |
by Anonymous Monk on Feb 27, 2010 at 00:17 UTC |