nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] [PATCH] scan message numbers from stdin


From: Jeffrey C Honig
Subject: Re: [Nmh-workers] [PATCH] scan message numbers from stdin
Date: Mon, 18 Aug 2008 12:54:18 -0400

Peter Maydell <address@hidden> wrote:

> Robert Elz wrote:
> >I'm not sure this is a great idea.
> 
> I'm not quite that negative about it, but...
> 
> >Fairly trivially, as documented in the proposed manual update, it
> >implies that
> >
> >     echo 1 2 3 4 5 | scan -
> >
> >would be the same as
> >
> >     scan 1 2 3 4 5
> >
> >but that isn't what the implementation does.
> 
> ...I do think that this isn't a good idea.
> 
> I think that it would be nice if 'scan 4 1 2' actually output the messages
> in the order stated on the command line. I also think that it would be
> better if all programs accepting multiple messages allowed you to specify
> '-' to read from standard input -- why should 'scan' in particular be
> special?

I concur.

> (Extra bonus UI question: if we make scan process messages in the order
> stated rather than always sorted order, what should 'scan sequencename'
> do if the sequence as defined in the .mh_sequences file isn't in order?)

Do sequences say anything about maintaining the order?

Thanks (谢谢).

Jeff

-- 
Jeffrey C. Honig <address@hidden>
http://www.honig.net/jch
GnuPG ID:14E29E13 <http://www.honig.net/jch/key.shtml>




reply via email to

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