On Sat, 2 Mar 2002, Goldwyn Rodrigues wrote:
How do i convert DOS files to Unix files after porting from the Windows partition.
dos2unix works well. if you don't have it, these methods are useful:
1. open the file in pico. do Ctrl+O. close the file 2. cat file | sed -e 's/^M//g' > newfile 3. perl -pi -e 's/\r//g' list of files
to put that ^M there, type Ctrl+V Ctrl+M