1 |
I think you could to try to put the recipient mail rouned by inverted |
2 |
commas to try to avoid the shell expansion: |
3 |
|
4 |
./script.sh | mail -s 'subject' "recipient@×××××××.com" |
5 |
|
6 |
Unfortunately, I don't have any machine here to test... :) |
7 |
|
8 |
|
9 |
|
10 |
Thiago Lüttig wrote: |
11 |
> well... the bash doesnt complain about the sintax, but the shell appears |
12 |
> to frozen... |
13 |
> |
14 |
> On 11/1/05, *Mario Luiz Bernardinelli* < mariolb@×××××××××××××××.br |
15 |
> <mailto:mariolb@×××××××××××××××.br>> wrote: |
16 |
> |
17 |
> Hi, |
18 |
> |
19 |
> I think you could do: |
20 |
> |
21 |
> ./script.sh | mail -s 'subject' recipient@×××××××.com |
22 |
> <mailto:recipient@×××××××.com> |
23 |
> |
24 |
> |
25 |
> |
26 |
> Thiago Lüttig wrote: |
27 |
> > Hi. I Know, this question is stupid, but i simply don' t remenber |
28 |
> how to |
29 |
> > do that :'( |
30 |
> > |
31 |
> > I need to redirect an script output to the mail command. how ?? |
32 |
> i've |
33 |
> > tried the following: |
34 |
> > |
35 |
> > ./script.sh > mail recipient@×××××××.com |
36 |
> <mailto:recipient@×××××××.com> <mailto:recipient@×××××××.com |
37 |
> <mailto:recipient@×××××××.com>> |
38 |
> > |
39 |
> > but the bash says recipient@×××××××.com |
40 |
> <mailto:recipient@×××××××.com> <mailto:recipient@×××××××.com |
41 |
> <mailto:recipient@×××××××.com>> |
42 |
> > command not found. |
43 |
> > |
44 |
> > -- |
45 |
> > ______________________________ |
46 |
> > |
47 |
> > Atenciosamente, |
48 |
> > Thiago Lüttig |
49 |
> > |
50 |
> > ______________________________ |
51 |
> |
52 |
> -- |
53 |
> "Talk is cheap. Show me the code." |
54 |
> Linus Torvalds |
55 |
> |
56 |
> "May the force be with you!" |
57 |
> Star Wars |
58 |
> |
59 |
> "May the Source be with you." |
60 |
> An unknown jedi programmer. |
61 |
> |
62 |
> -- |
63 |
> gentoo-user-br@g.o <mailto:gentoo-user-br@g.o> mailing |
64 |
> list |
65 |
> |
66 |
> |
67 |
> |
68 |
> |
69 |
> -- |
70 |
> ______________________________ |
71 |
> |
72 |
> Atenciosamente, |
73 |
> Thiago Lüttig |
74 |
> |
75 |
> ______________________________ |
76 |
|
77 |
-- |
78 |
"Talk is cheap. Show me the code." |
79 |
Linus Torvalds |
80 |
|
81 |
"May the force be with you!" |
82 |
Star Wars |
83 |
|
84 |
"May the Source be with you." |
85 |
An unknown jedi programmer. |
86 |
|
87 |
-- |
88 |
gentoo-user-br@g.o mailing list |