in reply to RE: CHOMP VS. CHOP
in thread CHOMP VS. CHOP

That would change all your ^M^J into ^J^J i.e. every newline has just become two newlines. Fine if that's what you're trying to achieve, if not surely
s/^M//g;
would be better.

Nuance