[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Piping to mailer's stdin (was Re: lynx-dev A question about downloading
Piping to mailer's stdin (was Re: lynx-dev A question about downloading in lynx....)
Thu, 12 Nov 1998 21:28:47 -0800
[Apologies for non-lynx reply, but open-source folk gotta stick
On Fri, Nov 13, 1998, Serge MUNHOVEN <address@hidden>
> I knew about piping to mail/mailx/mutt (unix of course ...),
> but my question was about, e.g.:
> % cat bin.data | mutt -a -
> -: unable to attach file.
In this case, I think
% cat bin.data | mutt address@hidden
would have done it. Stdin is the default, and "-a -"
apparently doesn't work as a synonym.
A snippet of my (somewhat old) mutt manual:
Mutt also supports a ``batch'' mode to send prepared messages.
Simply redirect input from the file you wish to send. For
mutt -s "data set for run #2" address@hidden < ~/run2.dat
This command will send a message to address@hidden''
with a subject of ``data set for run #2''. In the body of the
message will be the contents of the file ``~/run2.dat''.