8000 dd: correct behavior when status=noxfer by jfinkels · Pull Request #2915 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dd: correct behavior when status=noxfer #2915

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

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

jfinkels
Copy link
Collaborator

Correct the behavior of dd with the status=noxfer option. Before
this commit, the status output was entirely suppressed (as happens
with status=none). This was incorrect behavior. After this commit,
the input/output counts are printed to stderr as expected.

For example,

$ printf "" | dd status=noxfer
0+0 records in
0+0 records out

This commit also updates a unit test that was enforcing the wrong
behavior.

Correct the behavior of `dd` with the `status=noxfer` option. Before
this commit, the status output was entirely suppressed (as happens
with `status=none`). This was incorrect behavior. After this commit,
the input/output counts are printed to stderr as expected.

For example,

    $ printf "" | dd status=noxfer
    0+0 records in
    0+0 records out

This commit also updates a unit test that was enforcing the wrong
behavior.
@sylvestre sylvestre merged commit 5c45911 into uutils:main Jan 25, 2022
@jfinkels jfinkels deleted the dd-status-noxfer branch January 29, 2022 02:00
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
0