Friday, December 14, 2007

convert dos file




Use tr to get rid of those pesky ^M characters:


tr "\r" "\n" < file.txt