🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20808

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

#20808
From: John M. Relph
Date: Tue, 27 Oct 1987 16:59
26 lines
1603 bytes
I was unable to reply directly, so here's my $.02:

In article <272@nikhefk.UUCP> paulm@nikhefk.UUCP (Paul Molenaar) writes:
>Find: ^13^13 (you actually type the carret in the dialog box)
>Replace with: ** (or whatever unique code you like)
>
>Now it's time to remove all _single_ returns (at the end of each line)
>
>Find: ^13 (again, also type the carret)
>Replace with: <zilch>
>
>And now turn the temporary code back into double returns:
>
>Find: **
>Replace with: ^13^13

The way I do it is very similar to yours except that I use "^p" to
represent paragraph marks (it's in the documentation).  I also replace
all single returns with " " (space).  However, I have sometimes had
problems with the third step, replacing all "**" with "^p^p".  If I
close the file and reopen it I don't have any problem.
        -- John
----
John M. Relph
IntelliGenetics, Inc.  700 East El Camino Real, Mountain View, CA 94040
Internet: relph@bionet-20.arpa
Technical Details
Message-ID: <3809@ig.ig.com>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!bbn!uwmcsd1!ig!relph
References: <2089@sputnik.COM> <272@nikhefk.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!bbn!uwmcsd1!ig!relph
From: relph@presto.ig.com (John M. Relph)
Newsgroups: comp.sys.mac
Subject: Re: What do you use to remove Paragraph Returns from your Text?
Message-ID: <3809@ig.ig.com>
Date: Tue, 27-Oct-87 11:59:10 EST
Article-I.D.: ig.3809
Posted: Tue Oct 27 11:59:10 1987
Date-Received: Thu, 29-Oct-87 22:52:26 EST
References: <2089@sputnik.COM> <272@nikhefk.UUCP>
Reply-To: relph@presto.UUCP (John M. Relph)
Organization: IntelliGenetics Inc., Mtn. View, Ca.
Lines: 26
Keywords: Clipper, MacWrite, Text