Gentoo Archives: gentoo-user-br

From: Mario Luiz Bernardinelli <mariolb@×××××××××××××××.br>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] Redirecting a script output to the mail command
Date: Tue, 01 Nov 2005 12:29:57
Message-Id: 43675D49.6020107@itelefonica.com.br
In Reply to: [gentoo-user-br] Redirecting a script output to the mail command by "Thiago Lüttig"
1 Hi,
2
3 I think you could do:
4
5 ./script.sh | mail -s 'subject' recipient@×××××××.com
6
7
8
9 Thiago Lüttig wrote:
10 > Hi. I Know, this question is stupid, but i simply don' t remenber how to
11 > do that :'(
12 >
13 > I need to redirect an script output to the mail command. how ?? i've
14 > tried the following:
15 >
16 > ./script.sh > mail recipient@×××××××.com <mailto:recipient@×××××××.com>
17 >
18 > but the bash says recipient@×××××××.com <mailto:recipient@×××××××.com>
19 > command not found.
20 >
21 > --
22 > ______________________________
23 >
24 > Atenciosamente,
25 > Thiago Lüttig
26 >
27 > ______________________________
28
29 --
30 "Talk is cheap. Show me the code."
31 Linus Torvalds
32
33 "May the force be with you!"
34 Star Wars
35
36 "May the Source be with you."
37 An unknown jedi programmer.
38
39 --
40 gentoo-user-br@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-br] Redirecting a script output to the mail command "Thiago Lüttig" <tluttig@×××××.com>