Re: more grep options (for zstdgrep)

2019-10-07 Thread Jason McIntyre
On Mon, Oct 07, 2019 at 04:55:07PM -0400, Ted Unangst wrote: > While I'm looking at the man page, a minor clarification. > > "All long options are provided" can be read to mean that every gnu option is > provided. This is not intended, and a simple reordering makes things clearer > imo. > it is

Re: more grep options (for zstdgrep)

2019-10-07 Thread Klemens Nanni
On Sun, Oct 06, 2019 at 02:28:09PM -0400, Ted Unangst wrote: > The zstd package includes a zstdgrep script, which should behave like zgrep, > however it assumes a few gnu grep behaviors we don't support. > > 1. --label=name prints a custom label, so you can get file.txt, not > file.txt.zst in the

Re: more grep options (for zstdgrep)

2019-10-07 Thread Klemens Nanni
On Mon, Oct 07, 2019 at 04:55:07PM -0400, Ted Unangst wrote: > "All long options are provided" can be read to mean that every gnu option is > provided. This is not intended, and a simple reordering makes things clearer > imo. OK kn

Re: more grep options (for zstdgrep)

2019-10-07 Thread Ted Unangst
While I'm looking at the man page, a minor clarification. "All long options are provided" can be read to mean that every gnu option is provided. This is not intended, and a simple reordering makes things clearer imo. Index: grep.1 =

more grep options (for zstdgrep)

2019-10-06 Thread Ted Unangst
The zstd package includes a zstdgrep script, which should behave like zgrep, however it assumes a few gnu grep behaviors we don't support. 1. --label=name prints a custom label, so you can get file.txt, not file.txt.zst in the output. 2. It uses - for stdin instead of a missing argument. Both ar