Comment Re:Very Minimal Perl for Unix People (Score 1) 332
Perl has very useful -p option which read line to $_ and prints $_. So this becomes shorter:
perl -pe 's/\r//'
perl -pe 's/\r//'
Never try to teach a pig to sing. It wastes your time and annoys the pig. -- Lazarus Long, "Time Enough for Love"