nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] mhfixmsg invocation


From: Ralph Corderoy
Subject: Re: [Nmh-workers] mhfixmsg invocation
Date: Wed, 19 Nov 2014 17:14:27 +0000

Hi David,

> > > Alternatively, something like this (completely untested)?
> > >
> > >     msgs=`inc -format '%(msg)'`  &&  [ -n "$msgs" ]  &&  mhfixmsg $msgs
> >
> > but then i'd lose the default output of inc.
> 
> msgs=`inc -format '%(msg)'` && [ -n "$msgs" ] && scan $msgs && mhfixmsg $msgs

Still a bit of a kludge?  inc updates *all* sequences in
unseen-sequence, so Paul could add one just for this task which he
zeroes before inc so it contains just the inc'd ones.

Though I wonder if inc could really do with an orthogonal -sequence that
it sets to precisely what it just created, i.e. it zeroes it beforehand.

Cheers, Ralph.



reply via email to

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