[plug] Strip ^M with sed

Steve Grasso steveg at calm.wa.gov.au
Tue Feb 22 11:12:24 WST 2000


OK. Strike my previous, which I thought was a bit strange. Here's how it's 
done:

sed -e 's/^M//g;' < inputfile > outputfile

(where ^M = Ctrl V Ctrl M)

Don't know about you Trevor, but I'll stick with perl......  :-)

Steve




More information about the plug mailing list