> -----Original Message----- > From: Jan Engelhardt [mailto:[EMAIL PROTECTED] > 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 [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!)
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]