[Mutt] #3105: -a does not work with multiple filenames
#3105: -a does not work with multiple filenames
--------------------+-------------------------------------------------------
Reporter: vinc17 | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone: 1.6
Component: mutt | Version: 1.5.18
Keywords: |
--------------------+-------------------------------------------------------
When I run mutt with -a followed by multiple filenames and -- as described
in the manual, I get the following error:
{{{
$ ./mutt -F /dev/null -a ~/foo ~/bar -- addr
--: unable to attach file.
}}}
Worse, if there's a file "--"[*], one doesn't get an error, but the
contents of this file are sent to the recipients!
[*] This can really happen in practice, e.g. when pasting a quoted
signature in a text terminal running zsh. Already happened to me.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3105>
Mutt <http://www.mutt.org/>
The Mutt mail user agent