On Wed, Jun 9, 2021 at 8:33 AM Rob Landley <[email protected]> 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? _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
