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

tail: handle non-UTF-8 input in -n mode #346

Merged

Conversation

andrewliebenow
Copy link
Contributor

Also: fix -c 0 and -n 0 bug
Also: add some simple optimizations

Also: fix -c 0 and -n 0 bug
Also: add some simple optimizations
match self {
Self::File(_, ref mut bu) => bu,
Self::Stdin(ref mut st) => st,
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the "foo or bar" naming. Merging anyway, but file this thought for processing.

@jgarzik jgarzik merged commit a08d82d into rustcoreutils:main Oct 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants