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//'
Save the whales. Collect the whole set.