diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-01-22 01:07:36 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-01-22 01:08:53 -0800 |
commit | 0943cac756268c9476db0bc95151207755f469f5 (patch) | |
tree | 357b55bf9ee44adfca3a040e4d701347c5f3f45e /NEWS | |
parent | 66978b84caa9156238c03da95ff2609f053e1e03 (diff) | |
download | grep-0943cac756268c9476db0bc95151207755f469f5.tar.gz |
doc: document recent diagnostics-related changes
* NEWS: Document changes re diagnostics related to GREP_COLORS,
directory loops, -s, "write error".
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -9,6 +9,15 @@ GNU grep NEWS -*- outline -*- read error on most systems; formerly, it ignored the error. [bug introduced in grep-2.5] + grep now exits with status 2 if a directory loop is found, + instead of possibly exiting with status 0 or 1. + [bug introduced in grep-2.3] + + The -s option now suppresses certain input error diagnostics that it + formerly failed to suppress. These include errors when closing the + input, when lseeking the input, and when the input is also the output. + [bug introduced in grep-2.4] + On POSIX systems, commands like "grep PAT < FILE >> FILE" now report an error instead of looping. [bug present since "the beginning"] @@ -47,6 +56,13 @@ GNU grep NEWS -*- outline -*- Use of the --mmap option now elicits a warning. It has been a no-op since March of 2010. + grep no longer diagnoses write errors repeatedly; it exits after + diagnosing the first write error. This is better behavior when + writing to a dangling pipe. + + Syntax errors in GREP_COLORS are now ignored, instead of sometimes + eliciting warnings. This is more consistent with programs that + (e.g.) ignore errors in termcap entries. * Noteworthy changes in release 2.10 (2011-11-16) [stable] |