[gentoo-user] Redirecting a script output to the mail command

2005-11-01 Thread Thiago Lüttig
Hi. I Know, this question is stupid, but i simply don' t remenber how to do that :'( I need to redirect an script output to the mail command. how ?? i've tried the following: ./script.sh mail [EMAIL PROTECTED] but the bash says [EMAIL PROTECTED] command not found.--

Re: [gentoo-user] Redirecting a script output to the mail command

2005-11-01 Thread Christoph Gysin
Thiago Lüttig wrote: I need to redirect an script output to the mail command. how ?? i've tried the following: ./script.sh mail [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] but the bash says [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] command not found. Use the pipe character '|':

Re: [gentoo-user] Redirecting a script output to the mail command

2005-11-01 Thread Neil Bothwick
On Tue, 1 Nov 2005 12:07:57 +, Thiago Lüttig wrote: I need to redirect an script output to the mail command. how ?? i've tried the following: ./script.sh mail [EMAIL PROTECTED] ./script.sh | mail [EMAIL PROTECTED] -- Neil Bothwick Some people are born mediocre, some people achieve

Re: [gentoo-user] Redirecting a script output to the mail command

2005-11-01 Thread Richard Fish
Peter Ruskin wrote: Try: sendmail [EMAIL PROTECTED] ./script.sh No, that will send the _contents_ of script.sh to recipient, not the output of executing the script. I think you meant: ./script.sh | sendmail [EMAIL PROTECTED] -Richard -- gentoo-user@gentoo.org mailing list