]> git.ipfire.org Git - thirdparty/xz.git/commit
xzless: Fix less(1) version detection when it contains a dot.
authorLasse Collin <lasse.collin@tukaani.org>
Fri, 4 Jun 2021 15:52:48 +0000 (18:52 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 4 Jun 2021 15:52:48 +0000 (18:52 +0300)
commit96f5a28a46fc93ac4e296808ac0f8631d05498bc
tree4c9791f184da3e46c50d41d00c88119184099dbd
parent5fb5212d816addbc523d0798cb482fdd0484f8fa
xzless: Fix less(1) version detection when it contains a dot.

Sometimes the version number from "less -V" contains a dot,
sometimes not. xzless failed detect the version number when
it does contain a dot. This fixes it.

Thanks to nick87720z for reporting this. Apparently it had been
reported here <https://bugs.gentoo.org/489362> in 2013.
src/scripts/xzless.in