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 14:37:39 -0700

On Wed, 11 Mar 2015 09:28:37 -0000 Ralph Corderoy <address@hidden> sez:

> Hi Bob,
> 
> > >     scan -format '%{to},%{cc},%{bcc},%{dcc},' "$draftname" |
> > >     grep -iq '@stanford\.edu[>,]'
> ...
> > apparently MH aliases are expanded *after* this script is invoked.  I
> > emailed someone that I have aliased, so that in my draft it is
> > 
> >      To:  foobar
> > 
> > and in my aliases file it expands based on the entry
> > 
> >      foobar:  address@hidden
> > 
> > But the script only sees "foobar" and not the expanded address.
> 
> This should give an easier format to grep anyway.
> 
>     whom "$draftname" |
>     grep ...

It does, but then I can't use whom(1) since that will invoke the
script, leading to infinite recursion (at least, until the kernel
runs out of file descriptors B-).

                                Bob



reply via email to

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