[Toybox] patch: add built-in versions of sha-2 family hash functions
Rob Landley
rob at landley.net
Wed Jun 9 06:50:21 UTC 2021
On 6/7/21 11:14 AM, enh wrote:
> your non-POSIX cut(1) extension covers 80% of the in-the-wild use of awk anyway
> :-) if you still talk to any of the busybox folks, we should suggest they copy
> that --- it would be nice for it to be a de facto standard so we can get it into
> POSIX sometime around the 2040s... (and have made lives better for the folks who
> don't care about standards and just want to "get things done" in the intervening
> decades!)
Hey Denys: any interest in adding cut -DF compatible with the toybox ones?
https://landley.net/toybox/help.html#cut
Ala "cut -DF 3-5" selects words like awk '{print $3" "$4" "$5}'
and the test case in
https://github.com/landley/toybox/blob/master/tests/cut.test#L40 is doing "cut
-DF 2,7,5" to show order is preserved.
(I also added -C and -O and some other stuff, but -DF is the important bit
there's interested in standardizing.)
Rob
P.S. Sigh, they've added -z to coreutils. I should add -z too...
More information about the busybox
mailing list