freebsd-dev/usr.bin/grep
Kyle Evans bd60b9b499 bsdgrep(1): Slooowly peel away the chunky onion
(or peel off the band-aid, whatever floats your boat)

This addresses two separate issues:

1.) Nothing within bsdgrep actually knew whether it cared about line numbers
  or not.

2.) The file layer knew nothing about the context in which it was being
  called.

#1 is only important when we're *not* processing line-by-line. #2 is
debatably a good idea; the parsing context is only handy because that's
where we store current offset information and, as of this commit, whether or
not it needs to be line-aware.
2018-06-08 01:25:07 +00:00
..
tests Standardize SPDX tag on files I've added 2018-05-09 16:52:28 +00:00
file.c bsdgrep(1): Slooowly peel away the chunky onion 2018-06-08 01:25:07 +00:00
grep.1 bsdgrep: Allow "-" to be passed to -f to mean "standard input" 2018-05-08 03:53:46 +00:00
grep.c bsdgrep(1): Do some less dirty things with return types 2018-06-07 18:27:58 +00:00
grep.h bsdgrep(1): Slooowly peel away the chunky onion 2018-06-08 01:25:07 +00:00
Makefile Remove NLS support from BSD grep 2018-06-06 23:12:35 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
queue.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
util.c bsdgrep(1): Slooowly peel away the chunky onion 2018-06-08 01:25:07 +00:00
zgrep.1 Use a script wrapper for <compress>grep 2018-04-25 13:23:58 +00:00
zgrep.sh Fix exit code for mismatches after r333013. 2018-05-24 22:15:47 +00:00