zindex
zindex copied to clipboard
Feature request: option for getting every nth line
It would be great to have an option for getting every n
th line as well.
Would be pretty easy to add: what's the use case and how would it differ from zcat file.gz | <some AWK to pick Nth line>
? Is this something you'd often do with different values of n
? In the short term you can use zq
with a list of line numbers, but that's not ideal I guess.