How to convert dos to unix text files?

dos2unix if you have it.  Or perl -pe 's/\r$//' for a pipe, or perl
-pi.bak -e 's/\r$//' filename1 filename2 etc to change files in place.
Or load the file in vim, :set notx, and save and exit.    You could
probably figure out some way to do it in pure sh if you try hard.

-- 
<[EMAIL PROTECTED]>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
What we *need* is for some advanced off-world sentience to carpet nuke planet
Earth from high orbit.  Call it Equal Opportunity Ethnic Cleansing.  I mean,
racism is so petty.  Why play favorites?  -- RageBoy

Reply via email to