Bill Marcum wrote:
^M is not the newline character in Linux. Try \r if you want to match the DOS/Windows end-of-line character.
\r is the Mac end of line. The DOS/Windows end of line is \r\n. Paul Scott