On Sep 25 2007 09:38, David C. Rankin wrote:
>>>
>>> I try to send an E-mail with the content of an ASCII file as the body.
>>> I do this with the following command
>>>   mail -s subj [EMAIL PROTECTED] < licinfo.txt
>>>
>
>cat file | mail -s 'some subject' [EMAIL PROTECTED]
>
>Always worked as well

Which is the same as

        mail -s 'some subject' [EMAIL PROTECTED] < file

just done overly complex by invoking an extra program named 'cat'...
(My instigation to everyone: stop the no-op piping disease!)
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to