Re: Better piped text support
Hi David,
On Fri, May 14, 2004 at 15:09:33 -0500, David Champion wrote:
> > > If you don't want to edit the file, do "mutt -e 'set editor=true'"
> >
> > when I just tried it, no message arrived at the recipient address.
>
> Mutt expects the editor to change the timestamp of the temporary file.
> If the timestamp doesn't change, mutt thinks the file is unchanged, no
> edits were done, and it should abort.
>
> You might try
>
> mutt -e 'set editor="sleep 1; touch"'
>
> or some variation on that theme.
that worked, even with only touch as editor. But this of course does not
work with piped text. It would be nice to be able to specify - as stdin
whereever a filename is expected, also with the -a option. If you are
going to change the source code for this, you may also make mutt accept
multiple attachments with -a file1 file2 .... and end the list with --
so one can use wildcards. I suggested this a longer time ago.
Best regards
Jens