Re: regression: attaching files from command line fails
- To: mutt-dev@xxxxxxxx
- Subject: Re: regression: attaching files from command line fails
- From: Jukka Salmi <j+mutt@xxxxxxxxxxxxx>
- Date: Thu, 23 Oct 2008 23:06:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=salmi.ch; s=mx1; t=1224795974; i=@xxxxxxxxxxxxx; bh=aLgNZWpUCwqnrijzXpPZMMvQ+A4keYtc Xi3WsWGDheE=; h=Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=OJrPZFdKWlo5Si4gJ10Oiedlx 8w2F+1So7nLQEP992QYqRWP7IB71CpbD0fLpXO8R13kk4lxq+1cXyw27tg221EiJ484 EibqGdLkGpiMV6jmu5vUdvJBD1/YE7hnHEbHRQfA5UAxaEd960MmIXUVPAdXTkB3px5 AP8paHec8JQpXDFuEsw2VSw7ooMgmQEua/a3EDXYXMUycgoSK/sIQ6z2baizdm9G3lc zziePrBGO6TQlrWp8+G78a4K5LrVVVB69z8E6o2m8igu7uioFO/5o9Tx7fRdd63yYzY 45xNj4PJhoOzYAeVRMJX1r5ywSmuqWwp7qnXMQf0bWtR9+HJw==
- Domainkey-signature: a=rsa-sha1; s=mx1; d=salmi.ch; c=simple; q=dns; h=received:date:from:to:subject:message-id: mail-followup-to:references:mime-version:content-type: content-disposition:in-reply-to:x-client-os:user-agent; b=G74ON2lQ10NeCPrFjWASv7+J/KhY447qfKwx8cNTTim0uaxQXQiNlcjcHKK74ixKM KhF99/Ze0LDDIWojyEI35Ur5IvHq51I0BvRkZRChFYdoyg6tJxSZsWQErvcL6+/PoKO mc0M00Y3DwZGwLwGdB+gvwmImJ2jpURGoBQ3bw1nvo1AiY0tyxwLcOG1TuMKLwbKaRw V3mcfrYNgH7vG2DDwlj5XR+nb4DZjvxpRusn0+4u2U7+WdwIayD5JrKniyHdg579k9g j3/9GFoEQglG7WX2uG5YiLbbr2ub793cC4Ohh73ByjLJ8gMkyyEmnD846hfIqFjJEnB 2xwqnb8eA==
- In-reply-to: <20081023145004.GA8432@xxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- References: <20081023133648.GA15071@xxxxxxxxxxxxxx> <20081023140702.GA19406@xxxxxxxxxxxx> <20081023145004.GA8432@xxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-10-20)
Aron Griffis --> mutt-dev (2008-10-23 10:50:05 -0400):
> Aron Griffis wrote: [Thu Oct 23 2008, 10:07:02AM EDT]
> > What OS is this? There are some patches recently in mutt that
> > affect cmdline processing, but your example works for me.
>
> My mistake, your example doesn't work for me. The reason is that
> -a accepts multiple attachments, so you need to specify -- before
> addresses:
>
> mutt -a file -- addr </dev/null
>
> Prior to http://dev.mutt.org/trac/changeset/31c9e9727d42 mutt
> would scan for a double-dash in the arguments, and would treat -a
> differently depending on whether the double-dash was found. This
> was error-prone and inconsistent on different operating systems.
> See http://dev.mutt.org/trac/ticket/3097
Thanks a lot, that's exactly the change that I was missing.
> I hope we don't have to reinstate a hack to pre-detect the
> double-dash... Just digs us deeper into the mess of a polymorphic
> command-line.
I can live with it ;-)
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~