coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

" --binary --tag --untagged --binary" should display the asterisk

Open sylvestre opened this issue 1 year ago • 0 comments

This code only considers the first occurrence of each flag, which leads to no meaningful behavior, because all subsequent flags get ignored. This is demonstrably wrong:

$ cargo run -q --features cksum cksum -a md5 --binary --tag --untagged --binary README.md 
e5773576fc75ff0f8eba14f61587ae28  README.md
$ cksum -a md5 --binary --tag --untagged --binary README.md 
e5773576fc75ff0f8eba14f61587ae28 *README.md

Originally posted by @BenWiederhake in https://github.com/uutils/coreutils/pull/6256#discussion_r1592286500

sylvestre avatar May 07 '24 11:05 sylvestre