View Single Post
Old 10-19-05, 12:24 PM   #4
Nerd, Geek, Freak
wnd's Avatar
Join Date: Sep 2005
Location: Finland
Posts: 703
Default Re: Linux format and MS format question

In case you just want to add/remove carriage return, you can use the following instead of dos2unix...

Add carriage return (from UNIX to DOS):
sed -ie "s/$/\r/" file
Remove carriage return (from DOS to UNIX)
sed -ie "s/\r//" file
Answer based on Thunderbird's reply -- I didn't understand the question.
web | cat

Christianity, noun: The belief that a cosmic Jewish Zombie who was his own father can make you live forever if you symbolically eat his flesh and telepathically tell him you accept him as your master, so he can remove an evil force from your soul that is present in humanity because a rib-woman was convinced by a talking snake to eat from a magical tree. [mad.frog]
wnd is offline   Reply With Quote