Etaoin Shrdlu wrote:
> On Tuesday 14 November 2006 22:40, Daniel Iliev wrote:
>
>   
>> "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...
>>     
>
> Your version does not suppress standard output, Richard's version does 
> (I'm not saying that one is better than the other though...).
>   

Ooops! My mistake. Sorry.

It is written "command 2>&1 >/dev/null" but I read "command >/dev/null 2>&1"


Richard is right (as usual) :)


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list

Reply via email to