<<< Date Index >>>     <<< Thread Index >>>

Re: regression: attaching files from command line fails



Kyle Wheeler wrote:  [Tue Oct 28 2008, 03:57:57PM EDT]
>     1. neither files nor email addresses may begin with a hyphen
>     2. by default, non-hyphen things on the commandline are assumed to
>        be email addresses
>     3. Using a "-a" flag means that subsequent non-hyphen things on
>        the commandline are assumed to be files
>     4. Using a "-E" flag means that subsequent non-hyphen things on
>        the commandline are assumed to be email addresses

That's darn close to the current situation, just replace your
theoretical -E with the existing --, so

>     mutt -a *.{jpg,png} -E {foo,bar,baz}@example.com

becomes

     mutt -a *.{jpg,png} -- {foo,bar,baz}@example.com

Aron