Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Redirecting a script output to the mail command
Date: Tue, 01 Nov 2005 13:09:30
Message-Id: 20051101124448.51ffafd6@hactar.digimed.co.uk
In Reply to: [gentoo-user] Redirecting a script output to the mail command by "Thiago Lüttig"
1 On Tue, 1 Nov 2005 12:07:57 +0000, Thiago Lüttig wrote:
2
3 > I need to redirect an script output to the mail command. how ?? i've
4 > tried the following:
5 >
6 > ./script.sh > mail recipient@×××××××.com
7
8 ./script.sh | mail recipient@×××××××.com
9
10
11 --
12 Neil Bothwick
13
14 Some people are born mediocre, some people achieve mediocrity, and some
15 people have mediocrity thrust upon them. - Joseph Heller, "Catch-22"

Attachments

File name MIME type
signature.asc application/pgp-signature