From: Dave Abrahams <dave@boostpro.com>
To: Juri Linkov <juri@jurta.org>
Cc: 9226@debbugs.gnu.org
Subject: bug#9226: 23.3; [rgrep]; (matches found) ?
Date: Wed, 17 Aug 2011 10:52:44 -0400 [thread overview]
Message-ID: <m2ippwjdj7.fsf@140-182-243-147.dhcp-bl.indiana.edu> (raw)
In-Reply-To: <87pqkdwblb.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 10 Aug 2011 18:10:27 +0300")
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
next prev parent reply other threads:[~2011-08-17 14:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-03 1:40 bug#9226: 23.3; [rgrep]; (matches found) ? Dave Abrahams
2011-08-10 7:16 ` Glenn Morris
2011-08-10 13:35 ` Stefan Monnier
2011-08-10 15:10 ` Juri Linkov
2011-08-17 14:52 ` Dave Abrahams [this message]
2011-08-17 15:02 ` Lennart Borgman
2011-08-17 16:50 ` Juri Linkov
2011-08-22 9:54 ` Juri Linkov
2011-09-17 18:24 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ippwjdj7.fsf@140-182-243-147.dhcp-bl.indiana.edu \
--to=dave@boostpro.com \
--cc=9226@debbugs.gnu.org \
--cc=juri@jurta.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.