Originally Posted by Verissi
Of course, substitute the path for perl on your system in the first line. Once you make it executable (chmod +x), you should be able to call it like this (I named mine addcr.pl): addcr.pl inputfile
It will just edit the existing file (no need for an output file name). We'll find a way to get this done if it kills me
|
"which perl" comes back with the usaul path.
This appears to work. I've applied it to all the files and when I open it in Text Wrangler it has a little popup menu at the bottom of the window "Windows (CRLF)". To be sure I've gone through at also selected "Western (Windows Lating)" encoding as well.
Here's version 2.1