Alternative to dos2unix, unix2dos - linux flip command
Feb 20, 2009, 06:01 (1 Talkback[s] )
[ Thanks to Jadu
Saikia for this link. ]
"A example. myfile.txt is a dos file with ^Ms at the end of each line.
$ file myfile.txt
myfile.txt: ASCII text, with CRLF, LF line terminators
$ flip -u myfile.txt
$ file myfile.txt
myfile.txt: ASCII text"
Complete Story
Related Stories:
Simple Unix And Linux Shell Tricks To Save You A Few Gray Hairs (Feb 19, 2009)
Bash Tricks I: (very) Repetitive tasks (Feb 18, 2009)
Multiple shell management with GNU Screen (Feb 18, 2009)
Linux - Compare two directories (Feb 18, 2009)
Command-Line-Fu (Feb 18, 2009)
Things to Do With 'kill' (Jan 07, 2009)
Linux Command Line For Beginners: Finding Help Documents (Jan 07, 2009)
The Wrong Way To Sell Linux (Dec 17, 2008)
The Linux CLI for Beginners, or, Fear Not the Linux Command Line! (Dec 13, 2008)
Begone Caps Lock and Other Great Keyboard Hacks (Oct 21, 2008)