procmail
[Top] [All Lists]

Re: bad clams?

2002-07-29 14:34:37
At 16:54 2002-07-29 -0400, fleet(_at_)teachout(_dot_)org did say:
Interesting - I'll try it.  FWIW, your "echo "TO xyz.zoo" | egrep
'xyz*zoo'" does nothing from my (bash) command line.  No complaints; but
no response.

No surprise - the regexp of "z*" is zero or more z characters - not "z and whatever character". Unless invoked with options to change its behaviour, grep only emits lines which MATCH. Guess what? That means the regexp isn't finding a match in the provided string.

And, not to be argumentative; but when I invoke 'man egrep' I get the grep
man pages - with a note that egrep = grep -E (and fgrep = grep -F).

I'm guessing that it might come as a surprise to you that egrep and fgrep are both typically _symlinks_ to the grep binary, or at least merely just a copy of the same binary. There are many tools which operate in this fashion - an identical binary which acts differently depending upon the name it is invoked as.

The manpages for grep have what to do with procmail anyway?

[kernsip - please refrain from sending the whole previous message back to the list.]

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>