summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-12-07 12:17:55 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-12-07 12:20:26 -0800
commit136a8987b003c2cee4c2419e2bf870ff0836f8f9 (patch)
tree8afc20215e6b3a4c0f882346f1d9c24e78a9f486
parentc5ddfc699fa1e1da3f490b870292e0b64117aae4 (diff)
downloadgrep-136a8987b003c2cee4c2419e2bf870ff0836f8f9.tar.gz
maint: clarify early-exit news for 2.27
* NEWS: Mention early-exit options to avoid confusion. See: http://lists.gnu.org/archive/html/grep-devel/2016-12/msg00007.html
-rw-r--r--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 302db5fe..f33001d0 100644
--- a/NEWS
+++ b/NEWS
@@ -13,7 +13,8 @@ GNU grep NEWS -*- outline -*-
final byte of which is the digit "7".
[bug introduced in grep-2.19]
- grep by default now reads all of standard input if it is a pipe,
+ Unless an early-exit option like -q, -l, -L, -m, or -f /dev/null is
+ specified, grep now reads all of a non-seekable standard input,
even if this cannot affect grep's output or exit status. This works
better with nonportable scripts that run "PROGRAM | grep PATTERN
>/dev/null" where PROGRAM dies when writing into a broken pipe.