Mailinglist Archive: opensuse (2217 mails)
| < Previous | Next > |
RE: [opensuse] sending ASCII file with mail command (Fedora : OK ; OpenSuse : problem)
- From: "David Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Sep 2007 11:12:27 -0500
- Message-id: <09f701c7ff8e$de2c90d0$6207a8c0@rankinp35a>
> -----Original Message-----
> From: Jan Engelhardt [mailto:jengelh@xxxxxxxxxxxxxxx]
> 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@xxxxxxxxxxxxxxxxxxxx < 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> From: Jan Engelhardt [mailto:jengelh@xxxxxxxxxxxxxxx]
> 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@xxxxxxxxxxxxxxxxxxxx < 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |