[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: removing ^M from a text file



Pico will strip the ^M but still leaves the ^Z which (sometimes) is at the
end of a MSDOS text file (at least there is only one think to delete).

Bob

On Tue, 12 Jan 1999, John Stevenson wrote:

> I found a useful way of converting a file, simply load it into
> Netscape browser and it will not display the ^M characters.
> 
> Then you can print it off or copy (alt-c) and paste the text
> into an editor, or put it into netscape composer.
> 
> John.
> 
> 
> "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.
> > 
> 
> -- 
> John Stevenson, Objective Alliance: www.oa.nl
> "Its grip'd, its sorted.."
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 

----
Bob Nielsen                 Internet: nielsen@primenet.com
Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
DM42nh                      http://www.primenet.com/~nielsen


Reply to: