🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #46703

Return of the son of text processor question

#46703
From: Fred Dushin
Date: Wed, 21 Feb 1990 22:32
26 lines
1701 bytes
Thanks to all those who gave advice for simple programs which perform
grep functions on text files (grep-wc1.2 DA, mpw, etc.) However, my 
needs have changed!  What I would like is something along roughly
the same lines (a nice program which will perform grep--or something
grep-like--on text files and which will save output), but which also

(i) will find lines with string1 _and_ string2, lines with
string1 _or_ string2, lines with not string, or combinations thereof, eg,
((string)and(string)) or ((string) and not (string))

Nice, eh?  I tried doing something like this in hypercard,
but HC is unbearably *slow* and seems to have some problems
dealing with a lot of recursion (and the function I wrote is
through and through recursive...); and

(ii) has a (gasp) command line interface--sorry McFascists.  Sure, the
mac is nice, but it sure is a pain to have the fingers pasted
to the mouse (maybe if we could cut them first...).  Having
a nice, simple, unix-style interface would be best.

I doubt there is anything that fits these conditions out there,
but I thought I'd just give it a try.  E-mail responses would
be nice.

Thanks,
Fred Dushin		fadushin@rodan.acs.syr.edu
Technical Details
Message-ID: <2167@rodan.acs.syr.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!rodan!rodan.acs.syr.edu!fadushin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!rodan!rodan.acs.syr.edu!fadushin
From: fadushin@rodan.acs.syr.edu (Fred Dushin)
Newsgroups: comp.sys.mac
Subject: Return of the son of text processor question
Message-ID: <2167@rodan.acs.syr.edu>
Date: 21 Feb 90 22:32:51 GMT
Sender: fadushin@rodan.acs.syr.edu
Reply-To: fadushin@rodan.acs.syr.edu (Fred Dushin)
Distribution: usa
Organization: Syracuse University, Syracuse, NY
Lines: 26