News for hackers. Stuff that matters.
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

There are no comments on this comment yet.