[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Add *sum -b (brief, hash only) option.
From: Rob Landley <rob () landley ! net>
Date: 2023-08-31 20:51:05
Message-ID: 0f374ab4-c394-afce-7e5b-e6dc93b69541 () landley ! net
[Download RAW message or body]
On 8/31/23 09:32, Denys Vlasenko wrote:
> On Thu, Aug 31, 2023 at 11:02 AM Rob Landley <rob@landley.net> wrote:
>> Something toybox has had for years, thought you guys might be interested. A way
>> to get these things to output ONLY the hash, so it's more easily scriptable.
>>
>> In the gnu/dammit version -b says not to strip DOS newlines, which we already
>> ignored as a NOP in at least some cases...
>
> Did you ask GNU coreutils to also have such an option?
Not yet, I'm still waiting for the resolution of:
https://lists.gnu.org/archive/html/coreutils/2023-08/msg00009.html
https://lists.gnu.org/archive/html/coreutils/2023-08/msg00100.html
You have a lot more gnu/faith than I do. (I'm agnustic at best.)
> I prefer to not create another case of several incompatible options
> for the same functionality, invented independently.
It's been in toybox for 9 years, which predates Android's adoption:
https://github.com/landley/toybox/commit/2682551a4b19
*shrug* Your call, of course. Just thought I'd offer a patch...
Rob
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic