coreutils
[Top][All Lists]
Advanced

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

Re: Re: hash-sum - print only the checksum - quiet mode


From: wrotycz
Subject: Re: Re: hash-sum - print only the checksum - quiet mode
Date: Tue, 17 Dec 2024 22:57:23 +0100
User-agent: GWP-Draft

<pre>    An option that clearly communicates what change is made to the 
output,  rather than an option which is traditionally (even in the same 
command!)  used to indicate that there is no output apart from error 
conditions.     I get the point. And agree.    So What do you propose?    I 
thought about -1; -h, --hash; -s, --single.  There is a thing though - if we 
want BSD compatibility, then they already use [1] -h for 'hashfile' 
[2], -s for 'string'.    Not sure if BSD compatibility is what we shall 
strive for. I mean, -b for example is --binary in GNU and '--base64' in 
BSD.  Other option names are not super logical either.    --    1.  -h hashfile 
     Place the checksum into hashfile instead of stdout.  -s string      Print 
a checksum of the given string.    2. I personally don't like -h 
<hashfile>; would rather use -f <file>, which would be more 
descriptive and save -h for either --help, or --hash.   </pre>


reply via email to

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