Page MenuHomeFreeBSD

Fix zgrep --version
ClosedPublic

Authored by 0mp on Apr 17 2021, 7:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 23, 8:50 AM
Unknown Object (File)
Thu, May 23, 8:50 AM
Unknown Object (File)
Thu, May 23, 7:12 AM
Unknown Object (File)
May 20 2024, 7:01 AM
Unknown Object (File)
Apr 26 2024, 3:44 AM
Unknown Object (File)
Apr 24 2024, 4:40 AM
Unknown Object (File)
Apr 19 2024, 2:15 AM
Unknown Object (File)
Jan 14 2024, 12:19 AM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable