-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 14 Jan 2003 14:11:14 +1100, Cameron Simpson wrote:

> | The trick with Mutt is to use an empty pipe when mailing in
> | non-interactive mode. In your example:
> |   $ cat /dev/null | mutt -s subject -a file mylocal@host <
> |   mensaje.txt
> 
> This is nonsense.
> The mutt will still have stdin attached to mensaje.txt and stdout and
> stderr on the tty.
> It won't behave ANY differently, and in fact won't notice the pipe at
> all.

You're right. I missed the stdin part.

If no standard input is attached, Mutt would enter interactive mode
regardless of whether "-a file" is used. That's where /dev/null can
be used to put Mutt into non-interactive mode. I mixed that up.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+JADY0iMVcrivHFQRAigyAJwJq0PJsCyrnol8cQY4w103dSbBEACfRxpK
ipAnmTRwccIGHGQDZPA9XYg=
=OUEU
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to