[ale] Turning CR into LF in text file

Glenn C. Lasher Jr. glasher at nycap.rr.com
Wed Dec 6 12:03:41 EST 2000


On Wed, 6 Dec 2000, Russ Marshall wrote:

> check this out:
> http://www.meybohm.de/os/linebreak.html
> 
> it works for converting both mac and pc line breaks...

You can also (if you have the memory for it) load it into emacs, and do a
replace-string on it.  When queried for what to replace, hit ^Q^M and
enter, when prompted for what to replace it with, hit ^Q^J and hit
enter.  The ^Q causes the next character typed to be quoted.

> 
> --Russ
> 
> > -----Original Message-----
> > From: owner-ale at ale.org [mailto:owner-ale at ale.org]On Behalf Of Fulton
> > Green
> > Sent: Wednesday, December 06, 2000 11:42 AM
> > To: ale at ale.org
> > Subject: [ale] Turning CR into LF in text file
> >
> >
> > Stupid question, but what the hey:
> >
> > Someone emailed me a PageMaker document that they had converted to HTML.
> > The HTML attachment contains a bunch of carriage returns (^M) w/o the
> > corresponding linefeeds (^J). How do I convert for UNIX-style consumption?
> >
> > TIA!
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in
> > message body.
> >
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 

-- 
glasher at nycap.rr.com
After 163 days, Verizon still couln't deliver Telocity DSL.

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list