[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9226: 23.3; [rgrep]; (matches found) ?

From: Dave Abrahams
Subject: bug#9226: 23.3; [rgrep]; (matches found) ?
Date: Wed, 17 Aug 2011 10:52:44 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]