[Top][All Lists]

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

Re: parallel autotest [1/3]: Refactor testsuite driver loop.

From: Ralf Wildenhues
Subject: Re: parallel autotest [1/3]: Refactor testsuite driver loop.
Date: Thu, 19 Jun 2008 19:31:52 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Eric Blake wrote on Wed, Jun 18, 2008 at 09:52:11PM CEST:
> Ralf Wildenhues <Ralf.Wildenhues <at>> writes:
> > 
> > The '*' is special and needs escaping, fixed now, and pushed.  I have no
> > idea how I could have overlooked that, but it seems that GNU and BSD sed
> > do not interpret it as special when it's the first regex token.
> And that is correct, according to POSIX: 
> "The asterisk shall be special except when used: ...
> As the first character of an entire BRE (after an initial '^', if any)"

Now, I wasn't aware of *that*; thanks!

> I guess my question was more along the lines of whether /*/ and /\*/
> are universally interpreted as the same BRE like POSIX requires, or
> whether there are buggy sed out there where /*/ is treated as a syntax
> error where you HAVE to use /\*/ for portability.

I have no idea.  Tried both variations on a number of systems, they all
treat /*/ and /\*/ alike.


reply via email to

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