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

Re: Attachment problems



On Wed, Jun 17, 2009 at 10:31 AM, Kyle Wheeler wrote:
> On Wednesday, June 17 at 09:28 AM, quoth Kyle Wheeler:
> >According to the mutt man page, the usage pattern line you're looking
> >for is this one:
> >
> >     mutt [-nx] [-e cmd] [-F file] [-H file] [-i file] [-s subj]
> >          [-b addr] [-c addr] [-a file [...] --] addr [...]
> >
> >Essentially, there can be two lists at the end (one of files to attach
> >and the other of addresses, and they must be separated by a
> >double-hyphen. In other words, your command should be rewritten:
> >
> >     mutt -s "Documents you required" -a file1 file2 file3 -- 
> > myfriend@somewhere
> >
> >Make sense?
>
> If you're wondering "why on earth would they do that?!?" here's the
> answer:
>
>     mutt -s "Documents you required" -a file* -- myfriend@somewhere
>
> The change allows you to use shell wildcards to match multiple
> filenames.

I now see the change. I've often wanted this behaviour (which seems
more intuitive), but got used to the former... and my resistance to
change got the better of me; the sudden change put me off for a while.

Thanks for the clarification, and I'll read the man page more carefully. :-)

Kumar
--
Kumar