Article View: demon.tech.mac
Article #1131Re: Removing duplicates within text files?
From: Rebecca and Rowland
Date: Sat, 09 May 1998 00:00
Date: Sat, 09 May 1998 00:00
21 lines
1479 bytes
1479 bytes
Paul Womar <{$PW$}@pwomar.demon.co.uk> wrote:
> I have found that when I get the list of New group from the news server
> that many appear for several sessions and so are added to my newsgroups
> list many times over thus making it quite a bit longer than it should
> be, is there any program that will easily strip out the duplicates, it's
> a normal text file, alphabetically sorted with one entry per, any ideas?
Off the top of my head, I can't think of an *easy* solution. You could
do the job with A.N.Other programming language; Applescript and the
Scriptable Text Editor; tcl within the Alpha text editor; or Mac Perl
spring to mind as obvious possibilities.
Rowland.
--
Remove the animal for my email address: rebecca@astrid.dog.u-net.com
Sorry - the spam got to me. PGP pub key A680B89D
UK biker? Join MAG and help keep bureaucracy at bay
http://dredd.meng.ucl.ac.uk/www/mag/mag.html
Technical Details
Message-ID:
<1d8qwhh.1mgakcv1r35nbqN@p25.nas1.is2.u-net.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<1d8qhru.1tlty0r18utg0vN@pwomar.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b5a2,5753a18ed13d861d X-Google-Attributes: gid10b5a2,public From: real-address-in-sig@rhu.barb.foobar (Rebecca and Rowland) Subject: Re: Removing duplicates within text files? Date: 1998/05/09 Message-ID: <1d8qwhh.1mgakcv1r35nbqN@p25.nas1.is2.u-net.net> X-Deja-AN: 351640643 References: <1d8qhru.1tlty0r18utg0vN@pwomar.demon.co.uk> Organization: The Pietertje Geeltje van der Sluis fan club Newsgroups: demon.tech.mac