Page MenuHomeFreeBSD

Fix zgrep --version
ClosedPublic

Authored by 0mp on Apr 17 2021, 7:09 PM.

Details

Summary

"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

MFC after: 1 week

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 38655
Build 35544: arc lint + arc unit