🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.mac
Article #1059

Re: Batch processing application

#1059
From: John Doherty
Date: Mon, 25 May 1998 00:00
23 lines
1358 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

Get MPW. It's free now.

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

With MPW, just say "sort -unique myfile".

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

With MPW, just say "search /pattern/ myfile > outfile". "pattern"
here can be a full regular expression.
Technical Details
Message-ID: <jdoherty-2505980046410001@aus-tx17-17.ix.netcom.com>
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: feb82,ee225ad6d82215f
X-Google-Attributes: gidfeb82,public
X-Google-Thread: 10b5a2,ee225ad6d82215f
X-Google-Attributes: gid10b5a2,public
From: jdoherty@ix.netcom.com (John Doherty)
Subject: Re: Batch processing application
Date: 1998/05/25
Message-ID: <jdoherty-2505980046410001@aus-tx17-17.ix.netcom.com>
X-Deja-AN: 356243921
References: <1d9jzsy.gw3zx21k1ng09N@pwomar.demon.co.uk>
Organization: (none)
X-NETCOM-Date: Mon May 25 12:45:48 AM CDT 1998
Newsgroups: demon.tech.mac,comp.sys.mac.apps