This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".
The branch, master has been updated
via fc6aba9000f9d86b79c13ef602d5695644a30370 (commit)
from b1eaccd96d99a941ff93b5ecedb1572d1dcbe375 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=fc6aba9000f9d86b79c13ef602d5695644a30370
commit fc6aba9000f9d86b79c13ef602d5695644a30370
Author: Jim Meyering <[email protected]>
Date: Wed Jan 15 20:58:58 2025 -0800
doc: clarify a --help sentence
* src/grep.c (usage): Prompted by a suggestion at
https://bugs.gnu.org/75582 by Anton Samokat.
* THANKS.in: Add that name.
diff --git a/THANKS.in b/THANKS.in
index 194dba2..499345a 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -13,6 +13,7 @@ end of e.g., grep --help).
Akim Demaille [email protected]
Andreas Schwab [email protected]
Andreas Ley [email protected]
+Anton Samokat [email protected]
Bastiaan "Darquan" Stougie [email protected]
Ben Elliston [email protected]
Bernd Strieder [email protected]
diff --git a/src/grep.c b/src/grep.c
index 3e5440d..91ff378 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -2064,10 +2064,11 @@ Context control:\n\
-U, --binary do not strip CR characters at EOL
(MSDOS/Windows)\n\
\n"));
printf (_("\
-When FILE is '-', read standard input. With no FILE, read '.' if\n\
-recursive, '-' otherwise. With fewer than two FILEs, assume -h.\n\
-Exit status is 0 if any line is selected, 1 otherwise;\n\
-if any error occurs and -q is not given, the exit status is 2.\n"));
+When FILE is '-', read standard input. If no FILE is given, read standard\n\
+input, but with -r, recursively search the working directory instead. With\n\
+fewer than two FILEs, assume -h. Exit status is 0 if any line is selected,\n\
+1 otherwise; if any error occurs and -q is not given, the exit status is 2.\n"
+ ));
emit_bug_reporting_address ();
}
exit (status);
-----------------------------------------------------------------------
Summary of changes:
THANKS.in | 1 +
src/grep.c | 9 +++++----
2 files changed, 6 insertions(+), 4 deletions(-)
hooks/post-receive
--
grep