Remove DOS style CR/LF characters (^M) from UNIX files using:
sed -e ‘s/^M$//’ filename > tempfile
The newly created tempfile should have the ^M character removed
Remove DOS style CR/LF characters (^M) from UNIX files using:
sed -e ‘s/^M$//’ filename > tempfile
The newly created tempfile should have the ^M character removed