Hi,

The following example shows that version sort is not natural sort. Is
natural sort supported in by `sort`?

$ printf '%s\n' G . | LC_ALL=C sort -k 1,1V
.
G
$ printf '%s\n' 1G 1. | LC_ALL=C sort -k 1,1V
1.
1G
$ printf '%s\n' 1G13 1.02 | LC_ALL=C sort -k 1,1V # The result order
should have been reversed.
1G13
1.02

-- 
Regards,
Peng

Reply via email to