🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.mac
Article #1056

Re: Batch processing application

#1056
From: Eric Albert
Date: Sun, 24 May 1998 00:00
26 lines
1696 bytes
In article <1d9jzsy.gw3zx21k1ng09N@pwomar.demon.co.uk>,
{$PW$}@pwomar.demon.co.uk (Paul Womar) wrote:

> 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 *.

Both of these would be pretty trivial with a Perl script, so if you don't
mind playing with Perl, I'd suggest MacPerl as a good solution.

-Eric

------------------------------------------------
Eric Albert         ejalbert@leland.stanford.edu
http://www-leland.stanford.edu/~ejalbert/
Technical Details
Message-ID: <ejalbert-2405981452190001@ejalbert.stanford.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <1d9jzsy.gw3zx21k1ng09N@pwomar.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b5a2,ee225ad6d82215f
X-Google-Attributes: gid10b5a2,public
X-Google-Thread: feb82,ee225ad6d82215f
X-Google-Attributes: gidfeb82,public
From: ejalbert@leland.stanford.edu (Eric Albert)
Subject: Re: Batch processing application
Date: 1998/05/24
Message-ID: <ejalbert-2405981452190001@ejalbert.stanford.edu>
X-Deja-AN: 356163353
References: <1d9jzsy.gw3zx21k1ng09N@pwomar.demon.co.uk>
Newsgroups: demon.tech.mac,comp.sys.mac.apps