"David W. Tamkin" <dattier(_at_)ripco(_dot_)com> writes:
Just for the hell of it, here are untested reiterative INCLUDERCs for making
all letters in a single-line variable upper case or lower case.
...
:0
* tail ?? ^^^^
{ SWITCHRC = $_ }
They look good, except the above recipe needs its condition negated:
# Loop if the tail is not empty
:0
* ! tail ?? ^^^^
{ SWITCHRC = $_ }
The performance freaks will make that
# Loop if the tail contains a lowercase letter
:0 D
* tail ?? [a-z]
{ SWITCHRC = $_ }
but the gain isn't really significant.
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail