Gentoo Archives: gentoo-user

From: Glenn McCarthy <rotech@×××××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] pet peeve: sending normal output to stderr (env-update)
Date: Tue, 14 Nov 2006 18:37:03
Message-Id: 200611150730.33922.rotech@orcon.net.nz
In Reply to: [gentoo-user] pet peeve: sending normal output to stderr (env-update) by David Talkington
1 On Wed Nov 15 2006 6:50 am, David Talkington wrote:
2 > Why on earth does env-update send this:
3 > >>> Regenerating /etc/ld.so.cache...
4 >
5 > to stderr instead of stdout? This makes it very difficult to see only
6 > abnormal output in a cron job.
7 >
8 > I stopped using wget because of precisely that irritation. I cannot for
9 > the life of me think of a good reason to do this.
10 >
11 > --
12 > David Talkington
13 >
14 > PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
15 You can redirect stderr to stdout like this.
16
17 env-update 2>&1
18
19 Glenn McCarthy
20 --
21 gentoo-user@g.o mailing list