From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O0MGd-0001ZU-6P for garchives@archives.gentoo.org; Fri, 09 Apr 2010 22:01:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F5C7E0686; Fri, 9 Apr 2010 22:00:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E3FF4E0686 for ; Fri, 9 Apr 2010 22:00:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 85D001B4089 for ; Fri, 9 Apr 2010 22:00:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.979 X-Spam-Level: X-Spam-Status: No, score=-2.979 required=5.5 tests=[AWL=-0.380, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LC9peA+oYR4G for ; Fri, 9 Apr 2010 22:00:16 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 0433E1B40BF for ; Fri, 9 Apr 2010 22:00:11 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O0MFC-00022J-8T for gentoo-user@gentoo.org; Sat, 10 Apr 2010 00:00:06 +0200 Received: from adsl-69-234-177-132.dsl.irvnca.pacbell.net ([69.234.177.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Apr 2010 00:00:06 +0200 Received: from w41ter by adsl-69-234-177-132.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Apr 2010 00:00:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: [OT] shell ouput which file descriptor Date: Fri, 09 Apr 2010 14:59:39 -0700 Message-ID: References: <878w8wvekz.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-177-132.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a5pre) Gecko/20100409 Thunderbird/3.2a1pre In-Reply-To: <878w8wvekz.fsf@newsguy.com> X-Archives-Salt: fa70552a-5050-44b1-a294-5a0d103653be X-Archives-Hash: 90f98d4bc804a9547fde20e81f72d55a On 04/09/2010 08:19 AM, Harry Putnam wrote: > This is not a question about cvs... its only used for example. > > I'm puzzled about a change in what I see when I run > cvs -n update 2> /dev/null > > I've apparently lost the ability to remove stder from output. > > I used that command to trim out file descriptor 2 which used to leave > a list of any changed files in the repo on the console, for a very > long time. > > > Suddenly there is no difference with: > > cvs -n update 2> /dev/null > cvs -n update > > The stuff on stderr still shows in the ouput either way. > > Further; > cvs -n update 2>er (redirect stder to ./er) > > Doesn't put anything in ./er > > However cvs -n update 1>out (redirect stdout to ./out) > > Does catch the output I'm after and leave out stderr. (as one would > expect) > > So, again, apparently I've lost the ability to trim out stderr with a > redirect to /dev/null (cvs -n update 2> /dev/null) > > ------- --------- ---=--- --------- -------- > > The only thing I've been tinkering with is evaluating the > /etc/DIR_COLORS file. I switched from evaluating a custom version to > evaluating the default version. I have no helpful advice, but I would try a couple of simple experiments: I have this in my home directory because I'm color blind: -rw-r--r-- 1 wa1ter users 0 2007-08-27 18:29 .dir_colors $cat nonexistantfile cat: nonexistantfile: No such file or directory $cat nonexistantfile 2> /tmp/testfile $ $cat /tmp/testfile cat: nonexistantfile: No such file or directory Are you running cvs as root, or user, or ...?