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 '|':
./script.sh | mail [EMAIL PROTECTED]
The greater-than character '>' is used for redirecting output to a file.
Christoph
PS: Please disable sending HTML emails in your gmail preferences.
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list