GNU bug report logs - #9226
23.3; [rgrep]; (matches found) ?

Previous Next

Package: emacs;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Wed, 3 Aug 2011 01:42:02 UTC

Severity: normal

Found in version 23.3

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dave Abrahams <dave <at> boostpro.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 9226 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#9226: 23.3; [rgrep]; (matches found) ?
Date: Wed, 17 Aug 2011 10:52:44 -0400
on Wed Aug 10 2011, Juri Linkov <juri-AT-jurta.org> wrote:

> So to never lie to the users and determine reliably
> the status we could use the following logic:
>
>   If status is 0 and the output is not empty:
>     Grep finished (matches found)
>
>   Otherwise:
>     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.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




This bug report was last modified 13 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.