grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.10-14-g7460d0f


From: Jim Meyering
Subject: grep branch, master, updated. v3.10-14-g7460d0f
Date: Sat, 29 Apr 2023 04:39:04 -0400 (EDT)

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  7460d0f8b02714a7297ccf9349299cdacc2619bf (commit)
      from  92585cde9b5938d433738a873c8d44713d005f2c (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=7460d0f8b02714a7297ccf9349299cdacc2619bf


commit 7460d0f8b02714a7297ccf9349299cdacc2619bf
Author: Jim Meyering <meyering@fb.com>
Date:   Sat Apr 29 01:38:12 2023 -0700

    doc: say that `-f -` reads patterns from stdin
    
    * doc/grep.texi (Matching Control): Mention that when -f's FILE is -,
    grep reads patterns from stdin.
    * doc/grep.in.1: Likewise.
    * THANKS.in: Add the name.
    Suggested by Sebastian Carlos in https://bugs.gnu.org/63146

diff --git a/THANKS.in b/THANKS.in
index 06f8c54..194dba2 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -81,6 +81,7 @@ Rainer Orth                         
ro@cebitec.uni-bielefeld.de
 Roland Roberts                      rroberts@muller.com
 Ruslan Ermilov                      ru@freebsd.org
 Santiago Vila                       sanvila@unex.es
+Sebastian Carlos                    sebaaa1754@gmail.com
 Shannon Hill                        hill@synnet.com
 Sotiris Vassilopoulos               Sotiris.Vassilopoulos@betatech.gr
 Standish Parsley                    adsspamtrap01@yahoo.com
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index f7b8a03..236791e 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -244,6 +244,11 @@ If this option is used multiple times or is combined with 
the
 .RB ( \-\^\-regexp )
 option, search for all patterns given.
 The empty file contains zero patterns, and therefore matches nothing.
+If
+.IR FILE
+is
+.B \-
+, read patterns from standard input.
 .TP
 .BR \-i ", " \-\^\-ignore\-case
 Ignore case distinctions in patterns and input data,
diff --git a/doc/grep.texi b/doc/grep.texi
index e05ae25..ce6d6dc 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -202,6 +202,7 @@ in a shell command.
 Obtain patterns from @var{file}, one per line.
 If this option is used multiple times or is combined with the
 @option{-e} (@option{--regexp}) option, search for all patterns given.
+When @var{file} is @samp{-}, read patterns from standard input.
 The empty file contains zero patterns, and therefore matches nothing.
 (@option{-f} is specified by POSIX.)
 

-----------------------------------------------------------------------

Summary of changes:
 THANKS.in     | 1 +
 doc/grep.in.1 | 5 +++++
 doc/grep.texi | 1 +
 3 files changed, 7 insertions(+)


hooks/post-receive
-- 
grep



reply via email to

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