lynx-dev
[Top][All Lists]
Advanced

[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


From: Michael Warner
Subject: Piping to mailer's stdin (was Re: lynx-dev A question about downloading in lynx....)
Date: Thu, 12 Nov 1998 21:28:47 -0800

[Apologies for non-lynx reply, but open-source folk gotta stick
 together, eh?]

On Fri, Nov 13, 1998, Serge MUNHOVEN <address@hidden>
wrote:

        [...]

> 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
  example,

  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''.

HTH

-- 
Michael Warner 
<address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]