Gentoo Archives: gentoo-user

From: Qian Qiao <qian.qiao@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Redirecting a script output to the mail command
Date: Tue, 01 Nov 2005 13:23:39
Message-Id: c3d5f3800511010454s4974a1ecyd3ff45b1461a798c@mail.gmail.com
In Reply to: [gentoo-user] Redirecting a script output to the mail command by "Thiago Lüttig"
1 On 11/1/05, Thiago Lüttig <tluttig@×××××.com> wrote:
2 > Hi. I Know, this question is stupid, but i simply don' t remenber how to do
3 > that :'(
4 >
5 > I need to redirect an script output to the mail command. how ?? i've tried
6 > the following:
7 >
8 > ./script.sh > mail recipient@×××××××.com
9 >
10 > but the bash says recipient@×××××××.com command not found.
11 >
12
13 Wot I used to do was
14 $ mail some1 < some command
15
16 --
17 There are 3 kinds of people in the world:
18 Those who can count, and those who can't.
19
20 --
21 gentoo-user@g.o mailing list