diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-11-22 19:41:20 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-22 20:10:24 +0000 |
commit | 812877bfcb34edbff1ba554555bd2ddb613a22cc (patch) | |
tree | 73274dd493c7d26bf183f38dca0cd732dde7b043 /bootstrap | |
parent | 1d46419fdea9ee80c5856e2839643c78e58b9867 (diff) | |
download | coreutils-812877bfcb34edbff1ba554555bd2ddb613a22cc.tar.xz |
all: update gnulib submodule to latest
Also sync these copies with gnulib:
* bootstrap: Sync missed part of AIX support.
* tests/init.sh: Support compare_ on AIX.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -420,21 +420,21 @@ sort_ver() { # sort -V is not generally available get_version_sed=' # Move version to start of line. - s/.*[v ]\([0-9]\)/\1/ +s/.*[v ]\([0-9]\)/\1/ - # Skip lines that do not start with version. - /^[0-9]/!d +# Skip lines that do not start with version. +/^[0-9]/!d - # Remove characters after the version. - s/[^.a-z0-9-].*// +# Remove characters after the version. +s/[^.a-z0-9-].*// - # The first component must be digits only. - s/^\([0-9]*\)[a-z-].*/\1/ +# The first component must be digits only. +s/^\([0-9]*\)[a-z-].*/\1/ - #the following essentially does s/5.005/5.5/ - s/\.0*\([1-9]\)/.\1/g - p - q' +#the following essentially does s/5.005/5.5/ +s/\.0*\([1-9]\)/.\1/g +p +q' get_version() { app=$1 |