freebsd-nq/usr.bin/grep
Glen Barber 66edec08b0 Fix a bug in bsdgrep(1) where patterns are not correctly
detected.

Certain criteria must be met for this bug to show up:

 * the -w flag is specified, and
 * neither -o or --color are specified, and
 * the pattern is part of another word in the line, and
 * the other word that contains the pattern occurs first

PR:		181973
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2014-06-20 21:53:50 +00:00
..
nls Add Simplified Chinese messages for BSD grep. 2010-09-20 19:42:52 +00:00
regex Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
file.c Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT". 2013-01-08 18:37:12 +00:00
grep.1 mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
grep.c Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
grep.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
queue.c - Adjust a comment to actual behaviour 2011-04-07 13:03:35 +00:00
util.c Fix a bug in bsdgrep(1) where patterns are not correctly 2014-06-20 21:53:50 +00:00