grep: properly handle grep -w "^str" in !EXTRA_COMPAT case too
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 7 Feb 2014 16:14:37 +0000 (17:14 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Feb 2014 16:15:56 +0000 (17:15 +0100)
commit3ba2df874ca27f075a0897210d8dce6c56646e60
tree8d8b56ec8092ab4da85abd275998b2da457dbef7
parent07f417b6ab92e0429f302ff6783bb9681b60120e
grep: properly handle grep -w "^str" in !EXTRA_COMPAT case too

function                                             old     new   delta
grep_file                                           1267    1288     +21

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/grep.c
testsuite/grep.tests