From 56762bfda567ac2f96ab2f88e8117b5602bccddb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 20 Nov 2021 22:51:26 -0800 Subject: [PATCH 1/2] doc: "binary file matches" -> stderr [Bug#51860] --- doc/grep.in.1 | 2 +- doc/grep.texi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/grep.in.1 b/doc/grep.in.1 index 208cb76..123b8d6 100644 --- a/doc/grep.in.1 +++ b/doc/grep.in.1 @@ -520,7 +520,7 @@ and suppresses output lines that contain improperly encoded data. When some output is suppressed, .B grep follows any output -with a one-line message saying that a binary file matches. +with a message to standard error saying that a binary file matches. .IP If .I TYPE diff --git a/doc/grep.texi b/doc/grep.texi index c3c4bbf..b1da5cb 100644 --- a/doc/grep.texi +++ b/doc/grep.texi @@ -615,7 +615,7 @@ By default, @var{type} is @samp{binary}, and @command{grep} suppresses output after null input binary data is discovered, and suppresses output lines that contain improperly encoded data. When some output is suppressed, @command{grep} follows any output -with a one-line message saying that a binary file matches. +with a message to standard error saying that a binary file matches. If @var{type} is @samp{without-match}, when @command{grep} discovers null input binary data -- 2.32.0