From: David <[EMAIL PROTECTED]>
>|egrep -qw '(word1|word2|word3)' && exit 99 || exit 0
>/Maildir/


First, its missing a dot before the /Maildir/... there's no Maildir in /, is
there?

Second, I'm not very familiar with egrep's regular expressions, but if I was
to parenthise what you wrote it would seem to me that egrep would read it as

(word(1|w)ord(2|w)ord3)

Which sure isn't what you intended it to do. Perhaps you meant

(word1)|(word2)|(word3)

Armando


Reply via email to