I wrote my own once because I didn't have ready access to dos2unix. It basically slurped a file into a single variable, nuked all the \r characters with s/\cM//g, and wrote that var into a temp file, blew away the original file, and moved the temp into the original. It wasn't rocket science.
- doug
In reply to Re: dos2unix line endings on Windows
by doug
in thread dos2unix line endings on Windows
by flamey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |