there was a post explaining this any ~(x:...) re-type switch to an 'x' form where ')' is not special will fail because the parser doesn't know where the pattern ends
On Tue, 24 Apr 2012 11:41:15 +0800 Clark Wang wrote: > --f46d044472c10e381b04be648825 > Content-Type: text/plain; charset=UTF-8 > On Tue, Apr 24, 2012 at 05:54, Glenn Fowler <[email protected]> wrote: > > > > ast 2012-04-23 git updates have been posted > > the update addresses many problems brought up on ast-users and > > ast-developers > > (thanks for the detailed reports) > > > > * a first round of ksh fixes (another update in a day or so) > > * nmake fixes so that cmd line option changes like --shared cause rebuilds > > * libast regex fixes to properly scope ksh ~(E)... vs ~(E:...) > > > Still has problems: > $ echo ${.sh.version} > Version JMP 93u+ 2012-04-22 > $ [[ foo == ~(G:.*) ]] && echo yes || echo no > no > $ [[ foo == ~(G:foo) ]] && echo yes || echo no > no <== ksh93u (2011-02-08) outputs yes here > $ [[ foo == ~(F:foo) ]] && echo yes || echo no > no > $ > > > > the update also includes the { grep xargs } ksh builtins/plugins in > > src/cmd/kshlib/cmdtst > > > > to test cmdtst after building the packages, cd to a clean dir and: > > mkdir bin lib > > print $'BUILTIN_LIB=cmdtst\nLD_LIBRARY_PATH=../lib' > bin/.paths > > cp $INSTALLROOT/src/cmd/kshlib/cmdtst/$(getconf > > LIBPREFIX)cmdtst$(getconf LIBSUFFIX) lib > > and > > export PATH=$PWD/bin:$PATH > > > > _______________________________________________ > > ast-users mailing list > > [email protected] > > https://mailman.research.att.com/mailman/listinfo/ast-users > > > --f46d044472c10e381b04be648825 > Content-Type: text/html; charset=UTF-8 > Content-Transfer-Encoding: quoted-printable > <div class=3D"gmail_extra"><div class=3D"gmail_quote">On Tue, Apr 24, 2012 = > at 05:54, Glenn Fowler <span dir=3D"ltr"><<a href=3D"mailto:gsf@research= > .att.com" target=3D"_blank">[email protected]</a>></span> wrote:<br><= > blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= > #ccc solid;padding-left:1ex"> > <br> > ast 2012-04-23 git updates have been posted<br> > the update addresses many problems brought up on ast-users and ast-develope= > rs<br> > (thanks for the detailed reports)<br> > <br> > * a first round of ksh fixes (another update in a day or so)<br> > * nmake fixes so that cmd line option changes like --shared cause rebuilds<= > br> > * libast regex fixes to properly scope ksh ~(E)... vs ~(E:...)<br></blockqu= > ote><div><br>Still has problems:<br><br>$ echo ${.sh.version}<br>Version JM= > P 93u+ 2012-04-22<br>$ [[ foo =3D=3D ~(G:.*) ]] && echo yes || echo= > no<br> > no<br>$ [[ foo =3D=3D ~(G:foo) ]] && echo yes || echo no<br>no=C2= > =A0=C2=A0=C2=A0 <=3D=3D ksh93u (2011-02-08) outputs yes here<br>$ [[ foo= > =3D=3D ~(F:foo) ]] && echo yes || echo no<br>no<br>$ <br></div><bl= > ockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-lef= > t:1px solid rgb(204,204,204);padding-left:1ex"> > <br> > the update also includes the { grep xargs } ksh builtins/plugins in<br> > =C2=A0 =C2=A0 =C2=A0 =C2=A0src/cmd/kshlib/cmdtst<br> > <br> > to test cmdtst after building the packages, cd to a clean dir and:<br> > =C2=A0 =C2=A0 =C2=A0 =C2=A0mkdir bin lib<br> > =C2=A0 =C2=A0 =C2=A0 =C2=A0print $'BUILTIN_LIB=3Dcmdtst\nLD_LIBRARY_PA= > TH=3D../lib' > bin/.paths<br> > =C2=A0 =C2=A0 =C2=A0 =C2=A0cp $INSTALLROOT/src/cmd/kshlib/cmdtst/$(getconf= > LIBPREFIX)cmdtst$(getconf LIBSUFFIX) lib<br> > and<br> > =C2=A0 =C2=A0 =C2=A0 =C2=A0export PATH=3D$PWD/bin:$PATH<br> > <br> > _______________________________________________<br> > ast-users mailing list<br> > <a href=3D"mailto:[email protected]">[email protected]</a= > ><br> > <a href=3D"https://mailman.research.att.com/mailman/listinfo/ast-users" tar= > get=3D"_blank">https://mailman.research.att.com/mailman/listinfo/ast-users<= > /a><br> > </blockquote></div><br></div> > --f46d044472c10e381b04be648825-- _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
