News for hackers. Stuff that matters.
Re:Perl/Linux, a Linux distribution where all programs are w... by zokier on Friday August 17, 2012 @08:06AM (#4395945)
perl -p -e?
Re:Perl/Linux, a Linux distribution where all programs are w... by peterwwillis on Friday August 17, 2012 @10:27AM (#4396489)
add -i to edit a file in place

     $ perl -p -i -e 's/\r\n/\n/' file1 file2 file3