coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cksum: add --raw option to output a binary digest


From: Pádraig Brady
Subject: Re: [PATCH] cksum: add --raw option to output a binary digest
Date: Sat, 4 Feb 2023 16:28:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0

On 04/02/2023 15:45, Rob Landley wrote:
On 2/4/23 07:51, Pádraig Brady wrote:
--raw output is the most composable format, and also is a
robust way to discard the file name without parsing (escaped) output.

Just FYI, 9 years ago I taught toybox md5sum/sha1sum to use -b as "brief", and
the same option has been in our sha3sum and so on ever since:

   https://github.com/landley/toybox/commit/2682551a4b19

I considered -b as a short option,
but didn't since it may be confused with coreutils' *sum -b
and as you say toybox's *sum -b means something different again.
Also unless we're trying to be compatible coreutils tries
to only add --long-options for new functionality.

Did cut -DF ever wind up in a release?

It's on my list to review for the upcoming release.

thanks,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]