grep, etc
Brian K. White
brian at aljex.com
Tue Aug 17 20:08:11 PDT 2004
Fairlight wrote:
> You'll never BELIEVE what Bill Vermillion said here...:
>>
>> After having no power for 95 hours, and expecting it to be out for
>> at least 3 more days, things are running here again.
>
> Congrats! Good to have you back, man...
>
>> You mentioned you didn't learn on GNU greps originally.
>
> Nope. BSD 4.3.
>
>> You might check into pcregrep. It is defined as 'a grep with
>> Perl-compatible regular expressions'.
>
> Sweet. I should grab that. :) Basically a -useful- egrep. :)
> Well, egrep is useful, but not as useful as it otherwise could be.
I'd say the plain old stock sco grep was useful, since it aswered the need
very directly in one command without especially exotic options or a
pipeline. Didn't even require the stock egrep let alone gnu grep or
pcregrep.
Just because something fancier becomes available, doesn't automatically and
retroactively make the previous thing useless.
Especially if the newer more feature bloated thing is larger, less portable
or less easily portable (libraries), slower, more of a cpu hog, etc...
I'd be interested in performance benchmarks of gnu grep or pcregrep vs plain
stock grep. I wouldn't be surprized if the stock plain grep is faster and/or
less of a cpu hog. I wouldn't be surprized if gnu grep was faster either I
guess, hence the implication to test.
Brian K. White -- brian at aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
More information about the Filepro-list
mailing list