diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2009-12-14 12:37:53 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2009-12-22 12:26:42 +0100 |
commit | 62b155de28da2bf54ee63eb56d8cde42f21f179d (patch) | |
tree | 4cedac6ab3cab48da2d98661438e5ac6d71f84a4 /NEWS | |
parent | ab21b6037ec92eea32c3cf57220f3b2e567d784d (diff) | |
download | grep-62b155de28da2bf54ee63eb56d8cde42f21f179d.tar.gz |
Make 'grep -1 -2' and 'grep -1v2' equivalent to grep -2
Fixes bug 12128.
* src/grep.c (get_nondigit_option): Reset the buffer every time
a non-digit option is found or a new argument is started.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,10 @@ GNU grep NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] + - A command line like -1 -2 or -1 -v -2 result in two lines of + context (the last value that appears on the command line) instead + twelve (the concatenation of all the values). This is consistent + with the behavior of options -A/-B/-C. * Noteworthy changes in release 2.5.4 (2009-02-10) [stable] |