nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Multi-homed postproc, v2


From: Bob Carragher
Subject: Re: [Nmh-workers] Multi-homed postproc, v2
Date: Wed, 11 Mar 2015 02:09:57 -0700

On Wed, 11 Mar 2015 07:26:10 -0000 Ralph Corderoy <address@hidden> sez:

> Hi Bob,
> 
> > >   if scan -format '%{to} %{cc} %{bcc} %{dcc}' "$draftname" | grep -iqs 
> > > @stanford.edu; then
> >
> > Ah, right!  Trying too hard to make NMH do all the lifting.
> 
> If you do that, you might want to tighten the regexp, e.g.
> 
>     scan -format '%{to},%{cc},%{bcc},%{dcc},' "$draftname" |
>     grep -iq '@stanford\.edu[>,]'
> 
> noting the trailing comma in scan's format.
> 
> Cheers, Ralph.
> 
> _______________________________________________
> Nmh-workers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/nmh-workers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]