in reply to (tye)Re: converting windoze end-of-line chars to unix
in thread converting windoze end-of-line chars to unix

If I may improve (slightly)
perl -i.orig -pe "s/\r*$//" file
The -i.orig makes a temp file (file.orig) incase the conversion doesn't work right.