Subject: Re: pkg/33236: Error in /pkgsrc/bootstrap
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 04/11/2006 11:50:01
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:46:46 -0700 (PDT)
On Tue, 11 Apr 2006, Jeremy C. Reed wrote:
> > 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.
I see the "exclamation mark" is documented though -- and that appears to
be the way it works on NetBSD's sh and ksh too.
Jeremy C. Reed
echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'