freebsd-skq/usr.bin/grep
Mateusz Piotrowski 16e0391f8e Fix zgrep --version
"zgrep --version" is expected to print the version information in the
same way as "zgrep -V". However, the case handling the --version flag
is never reached, so "zgrep --version" prints:
    zgrep: missing pattern
instead of:
    grep (BSD grep, GNU compatible) 2.6.0-FreeBSD

Reviewed by:	yuripv
Approved by:	yuripv (src)
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D29813
2021-04-18 10:20:11 +02:00
..
tests grep: tests: stop testing for a nonexistent version of grep 2020-12-25 15:16:33 -06:00
file.c usr.bin/grep: Fix Address OOB read error 2021-02-09 17:13:32 +00:00
grep.1 grep: Fix an incorrect description of the -C flag 2021-04-17 22:35:15 +02:00
grep.c grep: Fix an incorrect description of the -C flag 2021-04-17 22:35:15 +02:00
grep.h
Makefile grep: fix LINKS in Makefile 2021-01-18 11:22:48 +01:00
Makefile.depend
Makefile.depend.options
queue.c usr.bin/grep: Fix Address OOB read error 2021-02-09 17:13:32 +00:00
util.c grep: fix -A handling in conjunction with -m match limitation 2021-02-08 12:41:22 -06:00
zgrep.1
zgrep.sh Fix zgrep --version 2021-04-18 10:20:11 +02:00