Hacker News new | ask | show | jobs
by peterwwillis 5052 days ago
add -i to edit a file in place

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