tag 22455 notabug
close 22455
thanks
Hello,
> On Jan 24, 2016, at 07:54, Vashti wrote:
> [...]
> I understand that sort -V is not reliable in all cases, but this seems like
> quite a straightforward one.
"sort -V" is reliable (or at least - consistent and well defined in
Hi, I'm having an issue with a script using coreutils 8.25. Asked to sort
two version numbers, 8.49 and 8.5, it returns them in the wrong order, with
the lowest value second:
$ echo -e '8.49\n8.5' | sort -V
8.5
8.49
I can produce the expected behaviour by correcting the second version
number to
Vashti writes:
> Hi, I'm having an issue with a script using coreutils 8.25. Asked to sort
> two version numbers, 8.49 and 8.5, it returns them in the wrong order, with
> the lowest value second:
>
> $ echo -e '8.49\n8.5' | sort -V
> 8.5
> 8.49
5 < 49, so that looks