Hi,

just discovered that this seems to not working anymore, is this a bug ?

$ cat << \EOF > /tmp/foobar
function  foo {
        x=1
}
function bar {
        typeset x=0
        foo
        echo $x
}
bar
EOF

$ ksh93 /tmp/foobar
0
$ kshg93 -c 'echo $KSH_VERSION'
Version JM 93u+ 2012-02-14

$ ksh88 /tmp/foobar
1

$ mksh /tmp/foobar
1
$ mksh -c 'echo $KSH_VERSION'
@(#)MIRBSD KSH R44 2013/02/24

$ bash /tmp/foobar
1
$ bash -c 'echo $BASH_VERSION'
4.1.10(4)-release

Regards,

Cyrille Lefevre
--
mailto:[email protected]
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to