grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.26-25-g16c0d20


From: Paul Eggert
Subject: grep branch, master, updated. v2.26-25-g16c0d20
Date: Sat, 19 Nov 2016 09:59:27 +0000 (UTC)

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  16c0d20ba4923c496ef4e499319b6d18ca81711a (commit)
      from  92b41d7e9c4df1e3cbcdb3fcc955636e76edb8cf (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=16c0d20ba4923c496ef4e499319b6d18ca81711a


commit 16c0d20ba4923c496ef4e499319b6d18ca81711a
Author: Paul Eggert <address@hidden>
Date:   Sat Nov 19 01:58:45 2016 -0800

    grep: document -oz better
    
    * doc/grep.texi (General Output Control, Usage): Tweak (Bug#24961).

diff --git a/doc/grep.texi b/doc/grep.texi
index ac821b4..9af13c4 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -355,6 +355,9 @@ When the @option{-v} or @option{--invert-match} option is 
also used,
 @cindex only matching
 Print only the matched (non-empty) parts of matching lines,
 with each such part on a separate output line.
+Output lines use the same delimiters as input, and delimiters are null
+bytes if @option{-z} (@option{--null-data}) is also used (@pxref{Other
+Options}).
 
 @item -q
 @itemx --quiet
@@ -1768,7 +1771,7 @@ Therefore, merely using the @code{[:space:]} character 
class does not
 match newlines in the way you might expect.
 
 With the GNU @command{grep} option @option{-z} (@option{--null-data}), each
-input ``line'' is terminated by a null byte; @pxref{Other Options}.  Thus,
+input and output ``line'' is null-terminated; @pxref{Other Options}.  Thus,
 you can match newlines in the input, but typically if there is a match
 the entire input is output, so this usage is often combined with
 output-suppressing options like @option{-q}, e.g.:

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

Summary of changes:
 doc/grep.texi |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
grep



reply via email to

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