This script doesn't work:
----- file t ----------
#!/usr/bin/ksh
set -x
typeset -T A_t=(
typeset blah=xxx
function f
{
source $1
f1 _
}
)
A_t a
a.f ./t1
f1
---- file t1 ----------
function f1
{
typeset -n v=$1
print "v = $v"
}
-----------------------
Starting ./t either results in a memory fault or doesn't print anything
(not even trace output). Inserting print statements changes the behavior
(partial output appears), but f1 is never called.
Regards,
Bernd
--
Bernd Eggink
http://sudrala.de
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers