Peter Jones:
Given "egrep PATTERN FILE", egrep can determine whether any particular
line in the FILE matches PATTERN. What I want to know is whether any
particular line in the FILE is contained within PATTERN... I couldn't
find any egrep option which would do that for me -- hence the PERL
script...
-f FILE, --file=FILE
Obtain patterns from FILE, one per line. The empty file con-
tains zero patterns, and therfore matches nothing.
-i, --ignore-case
Ignore case distinctions in both the PATTERN and the input
files.
If the patterns in your patterns-file are fixed strings without
special regexp-features like [iI] .* etc., then also see -F.
The -w or -x options can speed-up things.
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail