[Top][All Lists]

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

grep branch, master, updated. v2.21-3-gc8b9364

From: Jim Meyering
Subject: grep branch, master, updated. v2.21-3-gc8b9364
Date: Thu, 04 Dec 2014 15:48:50 +0000

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  c8b9364d5900a40809827aee6cc53705073278f6 (commit)
      from  5f2b930a7ed89644c4fb3a41a598143ebe055279 (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 -----------------------------------------------------------------

commit c8b9364d5900a40809827aee6cc53705073278f6
Author: Santiago Ruano Rincón <address@hidden>
Date:   Thu Dec 4 10:45:47 2014 +0100

    doc: document grep-2.11 change in behavior of -r, --recursive
    * doc/grep.texi (--recursive, -r): Mention the new behavior
    of recursively searching "." when there is no FILE argument.
    * doc/ Likewise.
    That change first appeared in grep-2.11, released on 2012-03-02.

diff --git a/doc/ b/doc/
index b6362ee..26deae6 100644
--- a/doc/
+++ b/doc/
@@ -467,6 +467,7 @@ Search only files whose base name matches
 .BR \-r ", " \-\^\-recursive
 Read all files under each directory, recursively,
 following symbolic links only if they are on the command line.
+Note that if no file operand is given, grep searches the working directory.
 This is equivalent to the
 .B "\-d recurse"
diff --git a/doc/grep.texi b/doc/grep.texi
index da9a1be..63016bd 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -698,6 +698,7 @@ For each directory operand,
 read and process all files in that directory, recursively.
 Follow symbolic links on the command line, but skip symlinks
 that are encountered recursively.
+Note that if no file operand is given, grep searches the working directory.
 This is the same as the @samp{--directories=recurse} option.
 @item -R


Summary of changes:
 doc/ |    1 +
 doc/grep.texi |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)


reply via email to

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