I am getting 3 failures relating to eval in ksh93/test/substring.sh
test substring.sh begins at 2008-01-27+10:32:54
substring.sh[176]: substitution of \?} failed
substring.sh[177]: substitution of '?' failed
substring.sh[178]: substitution of "?" failed
Here is a simple example which illustrates the failure:
$ tt='a\?b'
$ echo $tt
a\?b
$ echo `print $tt`
a\?b
$ echo $(echo $tt)
a\?b
$ echo $(eval print $tt)
a*b
$ echo $(eval echo $tt)
a*b
Note that '?' is being replaced by '*' when eval is involved.
Is this the expected behavour? PDKSH and bash-3.2 give the same results
on this platform (Microsoft Vista Ultimate with SUA i.e. Interix 6.0)
BTW, ksh93 ported to this platform relatively painlessly except for
some issues with gl_dirnext() code. I will feed back the diffs when
I am happy with the port.
- Finnbarr
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users