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

cksum: fix output of --algorithm #4856

Merged
merged 1 commit into from
May 11, 2023

Conversation

cakebaker
Copy link
Contributor

This PR fixes the output of -a/--algorithm and it is now identical to GNU cksum for all algorithms.

@cakebaker cakebaker force-pushed the cksum_fix_algorithm_output branch from d43a079 to f411e71 Compare May 11, 2023 06:20
@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/tail-2/inotify-dir-recreate. tests/tail-2/inotify-dir-recreate is passing on 'main'. Maybe you have to rebase?

@sylvestre
Copy link
Contributor

Could you please update the commit message explaining why and what was wrong before? thanks

for the algorithms md5, sha[1,224,256,384,512], blake2b, and sm3 from

<digest> <filesize> <filename>

to

<algo name> (<filename>) = <digest>

to use the same format as GNU cksum
@cakebaker cakebaker force-pushed the cksum_fix_algorithm_output branch from f411e71 to 0781ad0 Compare May 11, 2023 12:34
@sylvestre sylvestre merged commit 22a7f98 into uutils:main May 11, 2023
@cakebaker cakebaker deleted the cksum_fix_algorithm_output branch May 12, 2023 05:08
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