Re: removing ^M from a text file
On Tue, 12 Jan 1999, M.C. Vernon wrote:
> Dear all,
>
> I had the misfortune to be stuck with MSWrite over the vac, and
> although I told it to save as plain text, it didn't. I can delete most of
> the cruft, but there is ^M at the end of each and every line. I've tried
> catdoc, word2x, and sed, but none of them will remove them. Can you
> suggest anything, please?
>
> please cc me as I'm not on this list ATM.
recode ibm-pc:l1 <original file> newfile
Johann
--------------------------------------------------------------------------
| Johann Spies Windsorlaan 19 |
| jhspies@futurenet.co.za 3201 Pietermaritzburg |
| Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa) |
--------------------------------------------------------------------------
"Enter into his gates with thanksgiving, and into his
courts with praise. Be thankful unto him, and bless
his name." Psalms 100:4
Reply to: