in reply to stripline

The following one-liner will edit the file in place and make a backup called in.file.bak. Also too, shell expansion can be used to process multiple files at once.

perl -pi.bak -e 's/\cM//g' in.file

 

Ooohhh, Rob no beer function well without!