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

md5sum --zero isn't implemented #4612

Closed
sylvestre opened this issue Mar 24, 2023 · 1 comment · Fixed by #4632
Closed

md5sum --zero isn't implemented #4612

sylvestre opened this issue Mar 24, 2023 · 1 comment · Fixed by #4632
Labels

Comments

@sylvestre
Copy link
Contributor

sylvestre commented Mar 24, 2023

$ touch a
$ ./target/debug/coreutils md5sum --zero  a

returns

error: unexpected argument '--zero' found

With GNU:

$ /usr/bin/md5sum --zero  a
d41d8cd98f00b204e9800998ecf8427e  a% 

md5sum manpage:

       -z, --zero
              end  each  output line with NUL, not newline, and disable
              file name escaping

tested by
bash util/run-gnu-test.sh tests/misc/md5sum-newline.pl

0xMRTT added a commit to 0xMRTT/coreutils that referenced this issue Mar 25, 2023
@sylvestre
Copy link
Contributor Author

happening here #4632

@cakebaker cakebaker linked a pull request Mar 28, 2023 that will close this issue
sylvestre pushed a commit that referenced this issue Mar 28, 2023
* `hashsum`: add `--zero`  option (#4612)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant