On 6/12/21 8:06 AM, Denys Vlasenko wrote:
> On Wed, Jun 9, 2021 at 8:33 AM Rob Landley <r...@landley.net> wrote:
>> 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.)
> 
> Sure, I can add them.
> 
> Did you guys talk to coreutils whether _they_ want to add such opts?

It honestly didn't occur to me. Elliott?

Rob
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to