On 2007-03-21, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > On Tuesday, March 20 at 10:38 AM, quoth Gary Johnson: > > Or, anything after -a and before any other token beginning with - is > > considered an attachment. > > The only problem with this is that mutt uses the getopt() interface, > which doesn't make this sort of thing easy (or possible).
Right. I wasn't wild about it for that reason, too. But I couldn't think of anything better and if nothing else, I thought it might stimulate someone else to come up with a better idea. > > > 4. mutt -s S -a A B C > > > > A is an attachment; B and C are recipients. (Same as current > > behavior.) > > I don't understand, wouldn't (according to the idea you spelled out) B > and C be considered attachments as well? I expressed my idea incompletely. What I meant was: If -a is followed by any other token beginning with -, all tokens between -a and that '-'-token are taken to be attachments. If -a is not followed by any other token beginning with -, the first token following -a is taken to be an attachment and all subsequent tokens are taken to be recipients. Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA