[comp.sys.mac] Return of the son of text processor question

fadushin@rodan.acs.syr.edu (Fred Dushin) (02/22/90)

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