I'm using the following recipe to match regexp expressions. It's not
working, unfortunately, although it WILL catch non-regexp expressions. I
don't know what's wrong. Thanks.
:0BHc
* $ ? egrep -s -f $PMDIR/match.reject.regexp
/dev/null
<snip the continuation>
The regexps are like this:
/\badd me\b/i
/\bdelete me\b/i
/\bremove\s+me\b/i
/\bchange\b.*\baddress\b/
/\bsubscribe\b/i
/^sub\b/i
/\bunsubscribe\b/i
/^unsub\b/i
/^\s*help\s*$/i
/^\s*info\s*$/i
/^\s*info\s+\S+\s*$/i
/^\s*lists\s*$/i
/^\s*which\s*$/i
/^\s*which\s+\S+\s*$/i
/^\s*index\s*$/i
/^\s*index\s+\S+\s*$/i
/^\s*who\s*$/i
/^\s*who\s+\S+\s*$/i
/^\s*get\s+\S+\s*$/i
/^\s*get\s+\S+\s+\S+\s*$/i
/^\s*approve\b/i
/^\s*passwd\b/i
/^\s*newinfo\b/i
/^\s*config\b/i
/^\s*newconfig\b/i
/^\s*writeconfig\b/i
/^\s*mkdigest\b/i
-------------------------------------------------------------------------
| Brock Rozen | brozen(_at_)webdreams(_dot_)com |
http://www.webdreams.com/~brozen |
-------------------------------------------------------------------------