Gentoo Archives: gentoo-user-br

From: "Thiago Lüttig" <tluttig@×××××.com>
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:38:11
Message-Id: fcbf7e4c0511010437k230638e6w433e2d24a6258762@mail.gmail.com
In Reply to: Re: [gentoo-user-br] Redirecting a script output to the mail command by Mario Luiz Bernardinelli
1 well... the bash doesnt complain about the sintax, but the shell appears to
2 frozen...
3
4 On 11/1/05, Mario Luiz Bernardinelli <mariolb@×××××××××××××××.br> wrote:
5 >
6 > Hi,
7 >
8 > I think you could do:
9 >
10 > ./script.sh | mail -s 'subject' recipient@×××××××.com
11 >
12 >
13 >
14 > Thiago Lüttig wrote:
15 > > Hi. I Know, this question is stupid, but i simply don' t remenber how to
16 > > do that :'(
17 > >
18 > > I need to redirect an script output to the mail command. how ?? i've
19 > > tried the following:
20 > >
21 > > ./script.sh > mail recipient@×××××××.com <mailto:recipient@×××××××.com>
22 > >
23 > > but the bash says recipient@×××××××.com <mailto:recipient@×××××××.com>
24 > > command not found.
25 > >
26 > > --
27 > > ______________________________
28 > >
29 > > Atenciosamente,
30 > > Thiago Lüttig
31 > >
32 > > ______________________________
33 >
34 > --
35 > "Talk is cheap. Show me the code."
36 > Linus Torvalds
37 >
38 > "May the force be with you!"
39 > Star Wars
40 >
41 > "May the Source be with you."
42 > An unknown jedi programmer.
43 >
44 > --
45 > gentoo-user-br@g.o mailing list
46 >
47 >
48
49
50 --
51 ______________________________
52
53 Atenciosamente,
54 Thiago Lüttig
55
56 ______________________________

Replies

Subject Author
Re: [gentoo-user-br] Redirecting a script output to the mail command Mario Luiz Bernardinelli <mariolb@×××××××××××××××.br>