-----Original Message----- From: Jan Engelhardt [mailto:jengelh@computergmbh.de] Sent: Tuesday, September 25, 2007 9:50 AM To: suse Subject: Re: [opensuse] sending ASCII file with mail command (Fedora : OK ; OpenSuse : problem)
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 joukj@hrem.nano.tudelft.nl < licinfo.txt
cat file | mail -s 'some subject' user@address
Always worked as well
Which is the same as
mail -s 'some subject' user@address < file
just done overly complex by invoking an extra program named 'cat'... (My instigation to everyone: stop the no-op piping disease!)
Hmmm. Old dog, new trick, I like it.... David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org