Re: Here's how to make yourself happier
On Mon, 03 Mar 2014 23:46:39 -0800
David Guntner <david@guntner.com> wrote:
> Steve Litt grabbed a keyboard and wrote:
<clip>
> > GARBAGE=/dev/null
> >
> > ### DEBIAN LIST UBERSCREAMER ARNOLD BIRD'S 4 ADDRESSES
> > :0:
> > * ^From.*naturallinux@dcemail.com
> > $GARBAGE
> >
> > :0:
> > * ^From.*arnoldbird@cosmicemail.com
> > $GARBAGE
<clip>
> Unless you have a reason to want one test per address, you could
> simply put them all in a single test.
>
> > :0:
> > *
> > ^From.*(naturallinux@dcemail.com|arnoldbird@cosmicemail.com|usspookslovesystmd@muchomail.com|fredwln2@mail.ru)
> > $GARBAGE
>
> Collect them all! :-)
>
> --Dave
Thanks Dave,
I think once upon a time I knew that syntax, but long ago forgot it.
I'll start using that again.
SteveT
Steve Litt * http://www.troubleshooters.com/
Troubleshooting Training * Human Performance
Reply to: