sending the output of a script through mail
Garry T. Williams
gtwilliams at gmail.com
Thu Sep 21 23:58:17 UTC 2006
On Thursday 21 September 2006 09:46, Chris Norman wrote:
> Or possibly:
> script-name > address.txt
> cat addr.txt | mail user
> rm -f addr.txt
Useless use of cat.
script-name >address.txt
mail user <address.txt && rm address.txt
But, of course, there's no reason to create a file, if it's not going
to be saved. Just pipe.
--
Garry T. Williams --- +1 678 656-4579
More information about the fedora-list
mailing list