The following reply was made to PR pkg/33236; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/33236: Error in /pkgsrc/bootstrap
Date: Tue, 11 Apr 2006 04:33:16 -0700 (PDT)
On Tue, 11 Apr 2006 tannert@mis.mpg.de wrote:
> SunOS 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-880
I don't think this hits you.
> >How-To-Repeat:
> start bootstrap
> >Fix:
> Change [^0-9] to [0-9] on line 320
I am not sure it is a bug. (Is this causing it to fail on your Solaris
system?)
But I do see that different implementations of shells honor that ^
differently.
NetBSD's sh(1) and ksh(1) ignore the ^ (carat).
Bash makes it mean "not" (like regex) and is documented. And it does what
is expected on DragonFly's sh(1) too -- except not documented.
Jeremy C. Reed