diff options
author | 2020-04-10 11:06:52 +0100 | |
---|---|---|
committer | 2020-04-10 11:06:52 +0100 | |
commit | 5c1dd653a4f88528af7ceb37c215b75439211e64 (patch) | |
tree | f9b1c2e5464fd897e6a8f93b55baa3c87119fd67 | |
parent | tests: add a test for bug #706318 (diff) | |
download | gcc-config-5c1dd653a4f88528af7ceb37c215b75439211e64.tar.gz gcc-config-5c1dd653a4f88528af7ceb37c215b75439211e64.tar.bz2 gcc-config-5c1dd653a4f88528af7ceb37c215b75439211e64.zip |
gcc-config: add a TODO to use 'sort -V'
Was suggested by Jason A. Donenfeld and jthill.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-x | gcc-config | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -74,7 +74,8 @@ usage() { # Normalizer: # echo "hello-world-1.2.3.444.56778" | ${SED} -e 's/[0-9]\+/0000&/g' | ${SED} -e 's/0*\([0-9]\{4\}\)/\1/g' # hello-world-0001.0002.0003.0444.56778 -# That way we can have 9.0 < 10.0 roder. +# That way we can have 9.0 < 10.0 order. +# TODO: explore how portable 'sort -V' is and try using that instead. version_sorted_paths() { local p mangled_v for p in "$@"; do |