[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Turning CR into LF in text file
- Subject: [ale] Turning CR into LF in text file
- From: esoteric at denali.atlnet.com (Wandered Inn)
- Date: Wed, 06 Dec 2000 13:17:02 -0500
Fulton Green wrote:
>
> 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?
I think I'm going to put this in my sig. :)
tr -d '\015' < dos_formatted_file > unix_formatted_file
--
Until later: Geoffrey esoteric at denali.atlnet.com
"Great spirits have always found violent opposition from mediocre minds.
The
latter cannot understand it when a man does not thoughtlessly submit to
hereditary prejudices but honestly and courageously uses his
intelligence."
- Albert Einstein
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.