🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20886

Re: What do you use to remove Paragraph Returns from your Text?

#20886
From: Robert Stanley
Date: Fri, 30 Oct 1987 17:16
23 lines
1727 bytes
In article <2089@sputnik.COM> moriarty@tc.fluke.COM (Jeff Meyer) writes:
>As a frequent downloader of Unix articles to my Macintosh, I have a great
>need to have a utility that removes the Return characters from the ends of
>every line in a paragraph.

As a long-time Word victim I used to do a trio of search and replace
operations, first translating pairs of carriage-returns (CR) into a
hopefully unique string, then replacing all remaining CR's with a space,
then finally replacing the unique string with a CR to give me back my
paragraphs.  Had it down to a fine art, at least for small docs.

Now I use Emacs at both ends, Gnu on the UNIX machines and micro-Emacs
on the Mac, and remove the CR whichever end I remember I need to do it.
Micro-Emacs came over the net a few months ago (version 3.8).

Works for me.

Robert_S
-- 
Robert Stanley           Cognos Incorporated     S-mail: P.O. Box 9707
Voice: (613) 738-1440 (Research: there are 2!)           3755 Riverside Drive 
  FAX: (613) 738-0002    Compuserve: 76174,3024          Ottawa, Ontario 
 uucp: decvax!utzoo!dciem!nrcaer!cognos!roberts          CANADA  K1G 3Z4
Technical Details
Message-ID: <1694@cognos.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!cognos!roberts
References: <2089@sputnik.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!cognos!roberts
From: roberts@cognos.uucp (Robert Stanley)
Newsgroups: comp.sys.mac
Subject: Re: What do you use to remove Paragraph Returns from your Text?
Message-ID: <1694@cognos.UUCP>
Date: Fri, 30-Oct-87 12:16:36 EST
Article-I.D.: cognos.1694
Posted: Fri Oct 30 12:16:36 1987
Date-Received: Sat, 31-Oct-87 16:49:29 EST
References: <2089@sputnik.COM>
Reply-To: roberts@cognos.UUCP (Robert Stanley)
Organization: Cognos Inc., Ottawa, Canada
Lines: 23
Summary: Try micro-Emacs