🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.mac
Article #1055

Batch processing application

#1055
From: Paul Womar
Date: Sun, 24 May 1998 00:00
18 lines
1501 bytes
I'm looking for some tools ont eh mac that will allow some serious text
processing, I particularly need to do the following:

1, I have an alaphetical text file (newsgroups) with lots of duplicate
entries which I want removed, someone suggested I use Excel but it
complained that the data had only one column.
2, I want to extract lines contianing a specific string to a text file
or allow me to give it a string with wildcards (full regex even) to
extract to a file.  I need to extract all the message-ids of the
postings I have made from a text file, so either I want to be able to
type "Message-id:" and it'll extract the whole lines to a file or type
something like "Message-id: <*>" to extract just that specific text with
anything replacing the *.

Any help much appreciated.
-- 
-> The email address in this message *IS* Valid <-
Technical Details
Message-ID: <1d9jzsy.gw3zx21k1ng09N@pwomar.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b5a2,ee225ad6d82215f,start
X-Google-Attributes: gid10b5a2,public
X-Google-Thread: feb82,ee225ad6d82215f,start
X-Google-Attributes: gidfeb82,public
From: {$PW$}@pwomar.demon.co.uk (Paul Womar)
Subject: Batch processing application
Date: 1998/05/24
Message-ID: <1d9jzsy.gw3zx21k1ng09N@pwomar.demon.co.uk>
X-Deja-AN: 356159282
X-NNTP-Posting-Host: pwomar.demon.co.uk:158.152.90.30
Mail-Copies-To: never
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 896046000 nnrp-09:21587 NO-IDENT pwomar.demon.co.uk:158.152.90.30
Newsgroups: demon.tech.mac,comp.sys.mac.apps