The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-10-2009
rakeshou rakeshou is offline
Registered User
  
 

Join Date: May 2007
Posts: 75
convert file to unix

first convert the windows file to unix format using

tr -d '\r' < infile > outfile

or

dos2unix infile > outfile

then process.