🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189080

Sorting paragraphs

#189080
From: Arto V. Viitanen
Date: Wed, 15 May 1991 09:33
13 lines
1266 bytes
I had following problem: I use karl@sugar.hackercorp.com's cookie program (to
insert quotes to some mail and so on) and have collect quotes from several
places. Problem is, they have collected the quotes also from several places,
and thus there are same quotes several times. I decided to clean the cookie
file, but had a problem: how to remove duplicates ?

I finally sorted the file by sort-paragraphs, after setting end of paragraph
as '%%' (which cookie uses as end of cookie mark) and removed the duplicates
by hand. My question is: is there and better way ?
--
Arto V. Viitanen				         email: av@kielo.uta.fi
University Of Tampere,				   	    av@ohdake.cs.uta.fi
Finland
Technical Details
Message-ID: <AV.91May15123316@kielo.uta.fi>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!news.funet.fi!uta!kielo!av

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,591066c674cfac1a,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-15 07:23:48 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!news.funet.fi!uta!kielo!av
From: av@kielo.uta.fi (Arto V. Viitanen)
Newsgroups: gnu.emacs.help
Subject: Sorting paragraphs
Message-ID: <AV.91May15123316@kielo.uta.fi>
Date: 15 May 91 09:33:16 GMT
Sender: news@uta.fi
Reply-To: av@uta.fi (Arto V. Viitanen)
Distribution: gnu
Organization: University of Tampere, Finland
Lines: 13
Nntp-Posting-Host: uta.fi