You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'cksum -b' no longer prints base64-encoded checksums. Rather that
short option is reserved to better support emulation of the standalone
checksum utilities with cksum.
For most algorithms, -b is a shortcut for --binary.
Honestly, I didn't even expect to be right, haha. According to toybox md5sum --help: "Brief (hash only, no filename)". I was confused because I'm used to the Toybox implementation (because of Android), then I went to the Termux distribution of GNU coreutils and it said -b is "binary". I expected Toybox to have less features, not entirely different APIs! I was proven wrong
Currently, we use
-b
as a shortcut for--base64
. However, this is incorrect, the behavior of-b
was changed in GNU 9.4 according to https://github.com/coreutils/coreutils/blob/master/NEWS:For most algorithms,
-b
is a shortcut for--binary
.Thanks to @Rudxain for pointing out this issue in #6187 (comment)
The text was updated successfully, but these errors were encountered: