Page MenuHomeFreeBSD

Fix remaining zgrep(1) wrapper script regressions
ClosedPublic

Authored by leres on Feb 6 2025, 10:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 26, 3:37 PM
Unknown Object (File)
Thu, Aug 14, 2:16 PM
Unknown Object (File)
Thu, Aug 14, 3:12 AM
Unknown Object (File)
Wed, Aug 13, 11:21 AM
Unknown Object (File)
Sat, Aug 9, 4:17 PM
Unknown Object (File)
Fri, Aug 8, 6:25 PM
Unknown Object (File)
Fri, Aug 8, 5:36 PM
Unknown Object (File)
Wed, Aug 6, 2:38 PM
Subscribers

Details

Summary

Fix short flags without whitespace, e.g:

zgrep -wefoo test

Fix multiple -e flags:

zgrep -e foo -e xxx test

Previously only the last pattern would be used.

Clean up possible leading blank in ${grep_args}.

Update comment: 2.51 -> 2.6.0

Add a test case for the last known zgrep wrapper issue: recursion
(-r) not implemented.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 62318
Build 59202: arc lint + arc unit