Richard Fish wrote:
> On 11/14/06, David Talkington <[EMAIL PROTECTED]> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> Why on earth does env-update send this:
>>
>> >>> Regenerating /etc/ld.so.cache...
>
> env-update.sh outputs this message with a simple "echo", so no output
> to stdout here.  However portage writes most ">>>" messages to stderr.
>
> You can either file a bug report on bugs.gentoo.org to try and get the
> behavior changed, or use "emerge ... 2>&1 >/dev/null | grep -v -e '>>>
> Regenerating '".  This will send stdout to /dev/null, and stderr to
> the pipe where grep can filter out whatever messages annoy you.
>
> -Richard


"emerge ... 2>&1 >/dev/null | grep -v -e '>>> Regenerating '"

Isn't '>/dev/null' here by "typing habit" ? I think the right way is:

command 2>&1 | grep...


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list

Reply via email to