$ cat dosfile.txt | tr -d "\r" > unixfile.txt [download]
-- tune
In reply to Re: dos2unix problem by tune in thread dos2unix problem by Anonymous Monk