From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 01 10:13:05 2010 Received: (at submit) by debbugs.gnu.org; 1 Apr 2010 14:13:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxL8r-00044d-1T for submit@debbugs.gnu.org; Thu, 01 Apr 2010 10:13:05 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <7times191@googlemail.com>) id 1NxIuW-00033U-HO for submit@debbugs.gnu.org; Thu, 01 Apr 2010 07:50:09 -0400 Received: from lists.gnu.org ([199.232.76.165]:49402) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <7times191@googlemail.com>) id 1NxIuR-0006Hi-6m for submit@debbugs.gnu.org; Thu, 01 Apr 2010 07:50:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxIuQ-0005BA-SZ for bug-coreutils@gnu.org; Thu, 01 Apr 2010 07:50:02 -0400 Received: from [140.186.70.92] (port=44174 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxIuP-0005AA-IU for bug-coreutils@gnu.org; Thu, 01 Apr 2010 07:50:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from <7times191@googlemail.com>) id 1NxIuO-00080r-81 for bug-coreutils@gnu.org; Thu, 01 Apr 2010 07:50:01 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:52860) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from <7times191@googlemail.com>) id 1NxIuO-00080P-3i for bug-coreutils@gnu.org; Thu, 01 Apr 2010 07:50:00 -0400 Received: by wwb18 with SMTP id 18so698584wwb.0 for ; Thu, 01 Apr 2010 04:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=Bg6YaSZN41wZgWN5KNnj5tfm9AIpD6mrRkKZ21owRmg=; b=YDf0vaFSNekEk/4kcZeu4JwPQbuj2D/OOOHZ6RacI1geRSVUJgRRWrSg4GsqFN725P YKauPcYTTe0J8Yfha6Qct+xxjqaqNgJlnbUHgEq0x1sBOp0vb6C75+tp0ktT6J8p8lIR iMurHEkk/lBShcWY1va0i1/eSqEVFykaLLYvs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Gf/mRqy8EVE/K3UFLInADfmQOy5eCeaH3c/mtVM6tHGXJMWy6e+6Dqx+UHGTseK/j1 S44BFVUv8CBtLfPDC2pB+cQptf44yfELdNXSVZL2v5EPnSzkSFaQczs2t6SVeszYxKeA NbqQSX78X3lW5GruSm4ohXP/v8XRrAS12akO8= MIME-Version: 1.0 Received: by 10.216.21.7 with HTTP; Thu, 1 Apr 2010 04:49:57 -0700 (PDT) Date: Thu, 1 Apr 2010 13:49:57 +0200 Received: by 10.216.187.141 with SMTP id y13mr362788wem.68.1270122597561; Thu, 01 Apr 2010 04:49:57 -0700 (PDT) Message-ID: Subject: "false" core util From: phoenix <7times191@googlemail.com> To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=0016368337fa3fb5ca04832b766d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 01 Apr 2010 10:13:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) --0016368337fa3fb5ca04832b766d Content-Type: text/plain; charset=ISO-8859-1 Hey guys, I've found a serious error in the program "false": If I pipe some text to it (e.g. echo "i lost the game" | false), it does not fail but rather returns a success. Any suggestions? I need this program very much for completing my thesis on Pseudo-Riemannian manifolds. It would very kind of you if you'd inform me when the error has been fixed. (Remark: I am using Ubuntu 9.10.) Best regards, Hajo Pei --0016368337fa3fb5ca04832b766d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey guys,
I've found a serious error in the program "false"= ;: If I pipe some text to it (e.g. echo "i lost the game" | false= ), it does not fail but rather returns a success. Any suggestions? I need t= his program very much for completing my thesis on Pseudo-Riemannian manifol= ds.
It would very kind of you if you'd inform me when the error has been fi= xed. (Remark: I am using Ubuntu 9.10.)
Best regards,
Hajo Pei
--0016368337fa3fb5ca04832b766d-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 01 12:09:29 2010 Received: (at 5817) by debbugs.gnu.org; 1 Apr 2010 16:09:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxMxV-0004ke-6n for submit@debbugs.gnu.org; Thu, 01 Apr 2010 12:09:29 -0400 Received: from exhub016-2.exch016.msoutlookonline.net ([207.5.72.164]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxMv6-0004jE-S6 for 5817@debbugs.gnu.org; Thu, 01 Apr 2010 12:07:01 -0400 Received: from [10.1.1.235] (72.242.190.170) by smtpx16.msoutlookonline.net (207.5.72.190) with Microsoft SMTP Server (TLS) id 8.2.234.1; Thu, 1 Apr 2010 09:06:55 -0700 Message-ID: <4BB4C49D.6000600@cfl.rr.com> Date: Thu, 1 Apr 2010 12:06:53 -0400 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: phoenix <7times191@googlemail.com> Subject: Re: bug#5817: "false" core util References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 5817 X-Mailman-Approved-At: Thu, 01 Apr 2010 12:09:28 -0400 Cc: 5817@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.8 (/) On 4/1/2010 7:49 AM, phoenix wrote: > Hey guys, > I've found a serious error in the program "false": If I pipe some text to it > (e.g. echo "i lost the game" | false), it does not fail but rather returns a > success. Any suggestions? I need this program very much for completing my > thesis on Pseudo-Riemannian manifolds. > It would very kind of you if you'd inform me when the error has been fixed. > (Remark: I am using Ubuntu 9.10.) > Best regards, > Hajo Pei You must be checking it wrong because on Ubuntu 9.10 here it correctly returns an exit status of 1 for failure. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 01 12:42:45 2010 Received: (at 5817) by debbugs.gnu.org; 1 Apr 2010 16:42:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxNTh-00053v-F2 for submit@debbugs.gnu.org; Thu, 01 Apr 2010 12:42:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxNTf-00053q-FP for 5817@debbugs.gnu.org; Thu, 01 Apr 2010 12:42:44 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o31GgYp7019729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 1 Apr 2010 12:42:34 -0400 Received: from [10.11.10.93] (vpn-10-93.rdu.redhat.com [10.11.10.93]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o31GgXMB018416; Thu, 1 Apr 2010 12:42:33 -0400 Message-ID: <4BB4CCB2.2050501@redhat.com> Date: Thu, 01 Apr 2010 10:41:22 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Phillip Susi Subject: Re: bug#5817: "false" core util References: <4BB4C49D.6000600@cfl.rr.com> In-Reply-To: <4BB4C49D.6000600@cfl.rr.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6B5D777F0D941EF3F1606E8E" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -10.0 (----------) X-Debbugs-Envelope-To: 5817 Cc: 5817@debbugs.gnu.org, phoenix <7times191@googlemail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6B5D777F0D941EF3F1606E8E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/01/2010 10:06 AM, Phillip Susi wrote: > On 4/1/2010 7:49 AM, phoenix wrote: >> Hey guys, >> I've found a serious error in the program "false": If I pipe some text= to it >> (e.g. echo "i lost the game" | false), it does not fail but rather ret= urns a >> success. Any suggestions? What shell are you using? Typically, false is also a shell builtin, so maybe your particular shell has a bug. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig6B5D777F0D941EF3F1606E8E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAku0zLIACgkQ84KuGfSFAYAsjwCgqRPhkDlbxScaR6M/d6DzWA3x s0oAoIc70qhhntaGycI1gpol7WJSFoOA =0j4u -----END PGP SIGNATURE----- --------------enig6B5D777F0D941EF3F1606E8E-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 03 16:08:51 2010 Received: (at control) by debbugs.gnu.org; 3 Apr 2010 20:08:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ny9eF-0005gG-0x for submit@debbugs.gnu.org; Sat, 03 Apr 2010 16:08:51 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ny9eD-0005gB-9e for control@debbugs.gnu.org; Sat, 03 Apr 2010 16:08:49 -0400 Received: from dementia.proulx.com (dementia.proulx.com [192.168.230.115]) by joseki.proulx.com (Postfix) with ESMTP id B5E95213FC for ; Sat, 3 Apr 2010 14:08:44 -0600 (MDT) Received: by dementia.proulx.com (Postfix, from userid 1000) id AE84F3CC204; Sat, 3 Apr 2010 14:08:44 -0600 (MDT) Date: Sat, 3 Apr 2010 14:08:44 -0600 From: Bob Proulx To: control@debbugs.gnu.org Subject: need feedback Message-ID: <20100403200844.GA8564@dementia.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) tag 5817 + unreproducible moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 03 17:21:10 2010 Received: (at 5817) by debbugs.gnu.org; 3 Apr 2010 21:21:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyAmD-0007eR-RS for submit@debbugs.gnu.org; Sat, 03 Apr 2010 17:21:10 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyAmB-0007eB-U8 for 5817@debbugs.gnu.org; Sat, 03 Apr 2010 17:21:08 -0400 Received: from dementia.proulx.com (dementia.proulx.com [192.168.230.115]) by joseki.proulx.com (Postfix) with ESMTP id 4CBE8213FC; Sat, 3 Apr 2010 15:21:03 -0600 (MDT) Received: by dementia.proulx.com (Postfix, from userid 1000) id 386F63CC204; Sat, 3 Apr 2010 15:21:03 -0600 (MDT) Date: Sat, 3 Apr 2010 15:21:03 -0600 From: Bob Proulx To: phoenix <7times191@googlemail.com> Subject: Re: bug#5817: "false" core util Message-ID: <20100403212103.GA13907@dementia.proulx.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 5817 Cc: 5817@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) tags 5817 + moreinfo unreproducible thanks phoenix wrote: > I've found a serious error in the program "false": If I pipe some text to it > (e.g. echo "i lost the game" | false), it does not fail but rather returns a > success. Any suggestions? As others noted the 'false' command is a builtin to most shells. Therefore if you execute the following you are not getting the coreutils version of false but are instead getting your shell builtin version of false. In this case I am running bash and bash detects the error. $ echo foo | false -bash: echo: write error: Broken pipe $ echo $? 1 $ type false false is a shell builtin $ help false false: false Return an unsuccessful result. In order to get the coreutils version you would need to specify a path to it. But the shell should still detect this error. $ echo foo | /bin/false -bash: echo: write error: Broken pipe $ echo $? 1 The main reason for a standalone executable is for legacy compatibility and also on those occations when a program that isn't a shell needs to exec a program. > I need this program very much for completing my thesis on > Pseudo-Riemannian manifolds. Nice! And on April 1st too! > It would very kind of you if you'd inform me when the error has been fixed. > (Remark: I am using Ubuntu 9.10.) I do not presently have an Ubuntu system available to test this upon but I believe it to be a problem specific to either your shell or to your environment. Coreutils false doesn't have this problem. Neither does Debian which as you know is the basis for Ubuntu. Humorous Side Note: It has been remarked that false is actually more portable than true. Because if it doesn't exist the shell's exit status is still failure. Bob From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 15 18:24:06 2010 Received: (at 5817-done) by debbugs.gnu.org; 15 Apr 2010 22:24:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2XTh-00006j-PP for submit@debbugs.gnu.org; Thu, 15 Apr 2010 18:24:06 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2XTf-00006L-6S for 5817-done@debbugs.gnu.org; Thu, 15 Apr 2010 18:24:03 -0400 Received: from dementia.proulx.com (dementia.proulx.com [192.168.230.115]) by joseki.proulx.com (Postfix) with ESMTP id 90F72213A2; Thu, 15 Apr 2010 16:23:58 -0600 (MDT) Received: by dementia.proulx.com (Postfix, from userid 1000) id 889583CC3A0; Thu, 15 Apr 2010 16:23:58 -0600 (MDT) Date: Thu, 15 Apr 2010 16:23:58 -0600 From: Bob Proulx To: phoenix <7times191@googlemail.com> Subject: Re: bug#5817: "false" core util Message-ID: <20100415222358.GA25568@dementia.proulx.com> References: <20100403212103.GA13907@dementia.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100403212103.GA13907@dementia.proulx.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 5817-done Cc: 5817-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: 5817@debbugs.gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Bob Proulx wrote: > phoenix wrote: > > I've found a serious error in the program "false": If I pipe some > > text to it (e.g. echo "i lost the game" | false), it does not fail > > but rather returns a success. Any suggestions? > ... > In order to get the coreutils version you would need to specify a path > to it. But the shell should still detect this error. Since it has been two weeks and we haven't heard any replies I am going to assume that the information supplied solved your problem and that this bug can be closed. If you have additional information please feel free to add it to the bug report. Thanks, Bob From unknown Mon Aug 18 02:36:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 May 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator