-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
head: read_but_last_n_bytes is buggy #7288
Labels
Comments
karlmcdowall
added a commit
to karlmcdowall/coreutils
that referenced
this issue
Feb 10, 2025
Fixes issue uutils#7288. Rewrite logic to print all-but-last-n-bytes in non-seekable files.
Fix implemented here #7294 |
karlmcdowall
added a commit
to karlmcdowall/coreutils
that referenced
this issue
Feb 11, 2025
Fixes issue uutils#7288. Rewrite logic for print-all-but-last-n-bytes in non-seekable files.
karlmcdowall
added a commit
to karlmcdowall/coreutils
that referenced
this issue
Feb 11, 2025
Fixes issue uutils#7288. Rewrite logic for print-all-but-last-n-bytes in non-seekable files.
karlmcdowall
added a commit
to karlmcdowall/coreutils
that referenced
this issue
Feb 11, 2025
Fixes issue uutils#7288. Rewrite logic for print-all-but-last-n-bytes in non-seekable files.
karlmcdowall
added a commit
to karlmcdowall/coreutils
that referenced
this issue
Feb 12, 2025
Fixes issue uutils#7288. Rewrite logic for print-all-but-last-n-bytes in non-seekable files.
sylvestre
pushed a commit
to karlmcdowall/coreutils
that referenced
this issue
Feb 12, 2025
Fixes issue uutils#7288. Rewrite logic for print-all-but-last-n-bytes in non-seekable files.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you run
seq 70000 | head -c-2000
you'll see a different output to what the GNU-head outputs.It's a bug in read_but_last_n_bytes that only shows up with large input files.
I'm planning to fix soon.
The text was updated successfully, but these errors were encountered: