From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#9226: 23.3; [rgrep]; (matches found) ? Date: Wed, 17 Aug 2011 17:02:17 +0200 Message-ID: References: <87pqkdwblb.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1313593416 5434 80.91.229.12 (17 Aug 2011 15:03:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 15:03:36 +0000 (UTC) Cc: 9226@debbugs.gnu.org To: Dave Abrahams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 17 17:03:27 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QtheQ-0000Mi-LX for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2011 17:03:26 +0200 Original-Received: from localhost ([::1]:45608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtheQ-0006ML-6O for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2011 11:03:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtheI-0006Jn-25 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 11:03:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qthe9-0004Db-3V for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 11:03:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qthe8-0004DV-Vx for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 11:03:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qthfy-0005CA-B3; Wed, 17 Aug 2011 11:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2011 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9226 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9226-submit@debbugs.gnu.org id=B9226.131359347419937 (code B ref 9226); Wed, 17 Aug 2011 15:05:02 +0000 Original-Received: (at 9226) by debbugs.gnu.org; 17 Aug 2011 15:04:34 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QthfW-0005BW-0M for submit@debbugs.gnu.org; Wed, 17 Aug 2011 11:04:34 -0400 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QthfU-0005BO-4w for 9226@debbugs.gnu.org; Wed, 17 Aug 2011 11:04:33 -0400 Original-Received: by ewy19 with SMTP id 19so517493ewy.3 for <9226@debbugs.gnu.org>; Wed, 17 Aug 2011 08:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=PjVeTtmHK17vuWNE3AAEzuZK9E15pyidAaZXFy/xuqw=; b=ruqAxvM08yd/BEF3as8PdkR9+6BOEeeLJE+mG9S3+hQX0Xmjih/uwDAkUGI7Hy6vTx G9rGgdD/VurQl8d16b8OHbyoIBQpagAH/sFqXGTRjlvoAp9HTBsOmvnPukeN16CcQfpW fA0uxmscuEtaBjXCcVME+0YfeShCB/jSbAuts= Original-Received: by 10.213.29.76 with SMTP id p12mr158137ebc.74.1313593357156; Wed, 17 Aug 2011 08:02:37 -0700 (PDT) Original-Received: by 10.213.19.132 with HTTP; Wed, 17 Aug 2011 08:02:17 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 17 Aug 2011 11:05:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50105 Archived-At: On Wed, Aug 17, 2011 at 16:52, Dave Abrahams wrote: > > on Wed Aug 10 2011, Juri Linkov wrote: > >> So to never lie to the users and determine reliably >> the status we could use the following logic: >> >> =C2=A0 If status is 0 and the output is not empty: >> =C2=A0 =C2=A0 Grep finished (matches found) >> >> =C2=A0 Otherwise: >> =C2=A0 =C2=A0 Grep exited with status %d >> >> These changes completely remove the case of status 1 that displayed >> "finished with no matches found", and also remove the word "abnormally" >> from the message of remaining cases, because we can't reliably determine >> the case of "no matches found" by checking status 123 of a command line >> that contains "xargs". > > Sounds like an improvement to me. Is it the status of the grep program that is shown, or? Maybe this should be clarified?