but, most of the time, only the cr on the end is to be removed:perl -pi -e 's/\r//g' Filename
perl -pi -e 's/\r$//' Filename
Paul
In reply to Re^3: can't see ^M to process.
by rev_1318
in thread can't see ^M to process.
by DougC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |