Em 15-05-2013 17:54, Michael E. Maher escreveu:>

> On Wed, 2013-05-15 at 17:47 -0300, Fernando wrote:
>> error message:
>> /usr/bin/xzless: line 49: test: 458 (POSIX regular expressions): integer
>> expression expected
>>
>> (used env in order to get English message, but it appears in my locale
>> LANG too.)
>>
>> Line 49 of xzless is:
>>
>> if test "$(less -V | { read ver && echo ${ver#less }; })" -ge 429; then
>
> Looks like the command:
>      `less -V | { read ver && echo ${ver#less }; }'
> Is giving something other than an integer (from: integer expression
> expected).
>
> Could you give us the output of:
>      $ less -V
>      $ less -V | { read ver && echo ${ver#less }; }
>
>
> Thanks,
> Michael

Thank you, Michael,

root [ /tmp ]# less -V
less 458 (POSIX regular expressions)
Copyright (C) 1984-2012 Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Homepage: http://www.greenwoodsoftware.com/less

root [ /tmp ]# less -V | { read ver && echo ${ver#less }; }
458 (POSIX regular expressions)
root [ /tmp ]#

Same as normal user.

Should have told that I am in chroot.


-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to