[Bug 1248044] Re: xzless report an error

Jean-Max Reymond jmreymond at free.fr
Tue Nov 5 16:48:34 UTC 2013


The cause is the verbose output of less -V.
So, I fixed with

diff /usr/bin/xzless /tmp/xzless
49c49
< if test "$(less -V | { read ver && echo ${ver#less }; })" -ge 429; then
---
> if test "$(less -V | awk '{if (NR ==1) print $2}')" -ge 429; then

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xz-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1248044

Title:
  xzless report an error

Status in “xz-utils” package in Ubuntu:
  New

Bug description:
  when using the command xzless, I have always this line

  /usr/bin/xzless: line 49: test: 458 (GNU regular expressions): integer
  expression expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xz-utils/+bug/1248044/+subscriptions



More information about the foundations-bugs mailing list