-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
od: add support for -S #8849
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
od: add support for -S #8849
Conversation
|
GNU testsuite comparison: |
tests/by-util/test_od.rs
Outdated
| // Test with -S10 to filter out short strings | ||
| new_ucmd!() | ||
| .arg("-S10") | ||
| .pipe_in(b"\x01 \x00 \x00") | ||
| .succeeds() | ||
| .stdout_is("0000001 \n0000014 \n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a disconnect between the comment and the code: there are no short strings in the piped in data that could be filtered out ;-)
|
GNU testsuite comparison: |
cakebaker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done :)
|
GNU testsuite comparison: |
Great, kudos :) |
should fix tests/od/od-N