Question about the mail command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

the Mail command should allow an EOF eharacter, usually ^D on a line by itself to
end a message.  This should also work if redirecting a file.  There is always an
EOF character at the end of every file, so you need to do nothing but save it.
Any time a redirected file ends, the input stream is automatically terminated, 
and the program therefore terminates normally.  But if you are not redirecting a
file, and you are just typing a message in at the prompt, hit ^D and the program
will terminate and send the message.

Lorenzo
- -- 
"We decided that we should evaluate the Microsoft offerings first. Once we
realised what a powerful set of tools they were, it became self-evident this was
the right way to go down."

Microsoft: the right way to go down
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCdDtKG9IpekrhBfIRAlDnAKCauvYEYxTaL6dRX2ZEuNs/iBZsewCfdKWw
k2W22vJYiikEjn88mpCahUM=
=bkHO
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux