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
Comment on
Re: can't see ^M to process.
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
[download]
will remove ^M
[reply]
[d/l]
In Section
Seekers of Perl Wisdom