Hi,

Is this a bug, a feature, or am I missing something?

# echo -e "0.12\n0.11\n0.2\n0.1" | sort -t'.' -k2 -n
0.1
0.2
0.11
0.12
# echo -e "0.12\n0.11\n0.2\n0.1" | sort -t'.' -k1,2 -n
0.1
0.11
0.12
0.2

cc's appreciated, as I am not subscribed.

Regards
Paddy
-- 
Perl 6 will give you the big knob. -- Larry Wall


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to