> Had to use -e to have it insert new line. 

FWIW, I was able to get your tests to work without -e. (Alpine, busybox 1.35.0)

> Looking at sort.c in busybox seems that
> static char key_separator; is just defined, but not
> assigned a default value?
> Don't know if this might resolve issue?
> static char key_separator=' ';

Using -t ' ' might work for some cases, but consider
        abc March 3
        de  April 2
This example is a little contrived, but you might easily see something
like this in the real world (think logfiles).
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to