in reply to RE: Remove the ^M Character from a Document
in thread Remove the ^M Character from a Document

if you need to strip it from all the *.html files in a directory, try this sh snippet:

for A in *.html; do if [ -f $A ]; then sed -e 's/^V^M//g' $A > /tmp/foo.$$; mv /tmp/foo.$$ $A; fi;done

it's not perl, so sue me :-P

edit by mirod: added code tags