On Mon, 30 Aug 2004, S.A. Birl wrote:
I searched the archives, but could not find a previous topic about OR to
satisify my question. (then again it's difficult to search for | or OR)
Given the following:
:0 B
* ^.*charset=.*"(GB2312|big5|windows-1251|ISO-2022-JP)"
/dev/null
Does anyone know what | expands out to? At what point, regardless of the
rule, does | stop evaluating the condition? Does it stop after
whitespace, EOLN, after an ending " or ) ???
Would it be better to group each charset individually
(GB23212|big5|(windows-1251)|(ISO-2022-JP))
or leave the statement as is?
So, you have more then one question (:-) and you can find
answeres in the FAQ. It is highly recomanded to read the
FAQ, it is not so big and you will find some thing that
will help you in the futur.
1. There are no differents between (ISO-2022-JP) and ISO-2022-JP
2. White space(a). If you don't ask for SPACE, TAB or NEWLINE
procmail will not look for it.
3. White space(b). Regarding your questions I understand that
you will be happy to know what is "WORD" in procmail?
From man procmailrc:
\< or \> Match the character before or after a word. They are merely
a shorthand for `[^a-zA-Z0-9_]', but can also match newlines.
Since they match actual characters, they are only suitable to
delimit words, not to delimit inter-word space.
Bye,
Udi
Thanks
Birl
Archives http://www.xray.mpe.mpg.de/mailing-lists/procmail/
____________________________________________________________
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
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
---------------------------------------------------------------------------
Udi Motelo - Unix System Administrator.
Faculty of Engineering - Tel-Aviv University
E-Mail: uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il Phone: +972-3-6408958
---------------------------------------------------------------------------
____________________________________________________________
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