Hi John,
Re the second issue you raised, on RHL 4 same version of ksh93 I built from
source the result of
$ ksh93 -c 'typeset -A x; function x.get { print "Subscript:
${.sh.subscript}"; }; : ${x[1]}; print Done'
is
Subscript:
Done
Have you tried strace or equivalent to see where the code is dumping?
Regards
Pete
2010/1/15 John DuBois <[email protected]>
> I see that in t+, ksh93 emits a warning when an empty string is used as an
> index of an associative array:
>
> warning: adding empty subscript
>
> It appears that there is no way to disable this. I found it surprising,
> since
> I'm used to any string being usable (without complaint) as an index in an
> associative array, as in previous ksh93, awk, and such. It would be nice
> if
> there were at least a way to disable the warning - working around this
> would
> require quite a bit of work on my library of ksh93 programs.
>
> Also in t+, there are problems with discipline functions:
>
> $ ksh -c 'function x.get { print "Subscript: ${.sh.subscript}"; }; :
> ${x[1]}; print Done'
> Done
> $ ksh -c 'typeset -A x; function x.get { print "Subscript:
> ${.sh.subscript}"; }; : ${x[1]}; print Done'
> Memory fault
>
> The above is the behavior of the ksh in the package available for Ubuntu
> 9.10,
> "Version JM 93t+ 2009-05-01"
>
> John
> --
> John DuBois [email protected] KC6QKZ/AE
> I wish to God these calculations had been executed by steam. - Charles
> Babbage
> _______________________________________________
> ast-users mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-users
>
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users