-
Notifications
You must be signed in to change notification settings - Fork 504
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] Support for line number seeking #83
Comments
Seeking by line number feature would awesome. |
Yes, will be nice to have option to limit number of lines in output! |
When implemented, what's mentioned by @sparrc can be used without -f right? I.e. as in the linux tail command where it'll just print out last n lines without following the file. |
@Nino-K do either of the PRs referenced above look like something that might be accepted? |
What is the status of this feature request? I see a couple of pull requests, is there a known issue with those, does anyone use them? |
Thanks for the excellent library :),
I want to request support for seeking by line number, as in the linux
tail
command:Both options would be useful, I know that Go doesn't natively support seeking files by line number, but could probably come up with something fairly efficient, like:
If I find some time I'll try to work on this, and will update the issue if I do.
The text was updated successfully, but these errors were encountered: