Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: option for getting every nth line #28

Open
schelhorn opened this issue Dec 15, 2016 · 1 comment
Open

Feature request: option for getting every nth line #28

schelhorn opened this issue Dec 15, 2016 · 1 comment

Comments

@schelhorn
Copy link

It would be great to have an option for getting every nth line as well.

@mattgodbolt
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants