bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libvirt] boostrap: gzip version check problem on FreeBSD


From: Ralf Wildenhues
Subject: Re: [libvirt] boostrap: gzip version check problem on FreeBSD
Date: Sat, 13 Nov 2010 07:58:23 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

Hello,

* Eric Blake wrote on Fri, Nov 12, 2010 at 10:40:25PM CET:
> On 11/12/2010 02:35 PM, Paul Eggert wrote:
> > On 11/12/2010 12:50 PM, Eric Blake wrote:
> >> +          s/^\([0-9]\{1,\}\(\.[.a-z0-9-]*\)\)*.*/\1/
> > 
> > Surely that is a typo.  The "*\)\)*" should be a "*\)*\)".
> 
> Aargh - I tested on one machine, but committed on another.  Typo is now
> fixed.

But the following limitations from autoconf.info still apply:

     Nested parentheses in patterns (e.g., `\(\(a*\)b*)\)') are quite
     portable to current hosts, but was not supported by some ancient
     `sed' implementations like SVR3.

     Some `sed' implementations, e.g., Solaris, restrict the special
     role of the asterisk `*' to one-character regular expressions and
     back-references, and the special role of interval expressions
     `\{M\}', `\{M,\}', or `\{M,N\}' to one-character regular
     expressions.  This may lead to unexpected behavior:

You can probably ignore the first, but not the second.

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]