[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58476: buggy version sort
From: |
Vincent Lefevre |
Subject: |
bug#58476: buggy version sort |
Date: |
Wed, 12 Oct 2022 23:07:49 +0200 |
User-agent: |
Mutt/2.2.7+47 (8681885b) vl-149028 (2022-10-10) |
A regression in version sort (used as the natural sort for "ls")
has been introduced from coreutils 8.32 to 9.1:
With coreutils 8.32 (Debian 11):
$ printf "%s\n" a a0 a1 a.b a0.b a1.b | sort -V
a
a.b
a0
a0.b
a1
a1.b
With coreutils 9.1 (Debian/unstable):
$ printf "%s\n" a a0 a1 a.b a0.b a1.b | sort -V
a
a0
a0.b
a.b
a1
a1.b
This is now completely illogical.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
- bug#58476: buggy version sort,
Vincent Lefevre <=