2692537 comment Comment Re:Very Minimal Perl for Unix People (Score 1) 332 by ramunasg on Wednesday February 21, 2007 @06:05PM (#18101826) Attached to: Minimal Perl for Unix and Linux People Perl has very useful -p option which read line to $_ and prints $_. So this becomes shorter: perl -pe 's/\r//'