https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238380
Bug ID: 238380
Summary: zgrep: Allow multiple options '-e'
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 204872
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204872&action=edit
Patch
Currently, zgrep only allows a single option -e to be processed :
$ echo -e 'foo\nbar\nbaz' > test.txt
$ gzip test.txt
$ zgrep -e foo -e bar test.txt.gz
zcat: can't stat: -e: No such file or directory
zcat: can't stat: bar: No such file or directory
test.txt.gz:foo
The attached patch allows to pass several options -e as one would do with
standard grep(1) command.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"