[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] [PATCH] scan message numbers from stdin
From: |
Peter Maydell |
Subject: |
Re: [Nmh-workers] [PATCH] scan message numbers from stdin |
Date: |
Mon, 18 Aug 2008 17:43:07 +0100 |
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?
(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?)
So I guess I like the idea but not the implementation.
-- PMM
- [Nmh-workers] [PATCH] scan message numbers from stdin, Eric Gillespie, 2008/08/15
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin, Robert Elz, 2008/08/15
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin,
Peter Maydell <=
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin, Eric Gillespie, 2008/08/18
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin, Peter Maydell, 2008/08/18
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin, Eric Gillespie, 2008/08/19
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin, Simon Burge, 2008/08/19
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin, Paul Fox, 2008/08/19
- Re: [Nmh-workers] [PATCH] scan message numbers from stdin, Michael O'Dell, 2008/08/19