# # 23-Nov-05 amo Date-of-Birth # # # \015 Ctrl-M Carriage return \012 Ctrl-J Line feed # # # tr '\r' '\n' < macfile.txt > unixfile.txt # awk '{ gsub("\r", "\n"); print $0;}' macfile.txt > unixfile.txt # perl -p -e 's/\r/\n/g' < macfile.txt > unixfile.txt # # # tr -d "\015" < dosformatted.txt > unixformatted.txt # tr -d '\015' unixfile # # http://www.vim.org/tips/tip.php?tip_id=26 # # # End of file