in reply to can't see ^M to process.

this is a problem with carriage returns and newlines between windows and unix OS. you need to convert the files <code> tr '\015\' file > file2

Replies are listed 'Best First'.
Re^2: can't see ^M to process.
by Anonymous Monk on Jul 19, 2005 at 14:31 UTC
    tr -d "\015" < inputfile > outputfile
    will remove ^M