[lfs-support] Problem with xzless

2013-05-15 Thread Fernando
Apologies for sending to the wrong list. # cat /etc/lfs-release SVN-20130512 64bit, built with jhalfs I am worried about this: Either as normal user or as root: env LANG=C xzless /home/fernando/Downloads/blfs/links-2.7-2013.05.15-17h21m20s.log.xz error message: /usr/bin/xzless: line 49: test: 4

Re: [lfs-support] Problem with xzless

2013-05-15 Thread William Harrington
On May 15, 2013, at 3:47 PM, Fernando wrote: xzless /home/fernando/Downloads/blfs/links-2.7-2013.05.15-17h21m20s.log.xz /usr/bin/xzless: line 49: test: 458 (POSIX regular expressions): integer expression expected Line 49 is also an error when a filename isn't given. Works fine here. xzless

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Michael E. Maher
Hello, 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 te

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Matias A. Fonzo
El Wed, 15 May 2013 17:47:58 -0300 Fernando escribió: > Apologies for sending to the wrong list. > > # cat /etc/lfs-release > SVN-20130512 > 64bit, built with jhalfs > > I am worried about this: > > Either as normal user or as root: > env LANG=C xzless > /home/fernando/Downloads/blfs/links-2.7-

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Fernando
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 >>

Re: [lfs-support] Problem with xzless

2013-05-15 Thread William Harrington
On May 15, 2013, at 4:12 PM, Matias A. Fonzo wrote: Seems the `less' of busybox, the output of `less -V' is: less 451 (POSIX regular expressions) [..] So.. the integer cannot be compared. This is a jhalfs build of LFS. Thus no busybox. | Yes. Use better alternatives like zutils[1] or lzip[

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Michael E. Maher
On Wed, 2013-05-15 at 18:11 -0300, Fernando wrote: > 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

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Matias A. Fonzo
El Wed, 15 May 2013 16:12:15 -0500 William Harrington escribió: > > On May 15, 2013, at 4:12 PM, Matias A. Fonzo wrote: > > > Seems the `less' of busybox, the output of `less -V' is: > > > > less 451 (POSIX regular expressions) > > [..] > > > > So.. the integer cannot be compared. > > This is a

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Fernando
Em 15-05-2013 18:37, Matias A. Fonzo escreveu: > El Wed, 15 May 2013 16:12:15 -0500 > William Harrington escribió: >> >> On May 15, 2013, at 4:12 PM, Matias A. Fonzo wrote: >> >>> Seems the `less' of busybox, the output of `less -V' is: >>> >>> less 451 (POSIX regular expressions) >>> [..] >>> ***

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Bruce Dubbs
Michael E. Maher wrote: > The mail from Matias really says it all, it's the extra `(POSIX regular > expressions)' which is screwing up the integer comparison `if test "..." > -ge 429; then'. > > This seems like a bug in either: > less -V giving too much information for xz > - or - > xz

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Fernando
Em 15-05-2013 20:06, Bruce Dubbs escreveu: > Michael E. Maher wrote: > >> The mail from Matias really says it all, it's the extra `(POSIX regular >> expressions)' which is screwing up the integer comparison `if test "..." >> -ge 429; then'. >> >> This seems like a bug in either: >> less -V giv

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Fernando
Just to say that this known, at least since 17 Nov 2012 17:15:02 UTC. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693537 -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information pa

Re: [lfs-support] Problem with xzless

2013-05-15 Thread Bruce Dubbs
Fernando wrote: > Em 15-05-2013 20:06, Bruce Dubbs escreveu: >> Michael E. Maher wrote: >> >>> The mail from Matias really says it all, it's the extra `(POSIX regular >>> expressions)' which is screwing up the integer comparison `if test "..." >>> -ge 429; then'. >>> >>> This seems like a bug in ei