Roland Mainz schrieb:

Is there a reason that ksh93 (ast-ksh.2008-02-02) obmits empty arrays in
the compound variable view ?

For example the following script...
-- snip --
typeset filename="foo/bar"

typeset scan=(
    typeset -A records
)

Apparently "typeset x" just assigns an attribute to the name "x", but doesn't define the variable itself. The documentation isn't too clear
about this, however.

Another example:

    x=(a=''); print $x          # prints:       ( a='' )
    x=(typeset b); print $x     # still prints: ( a='' )
    x=(); print $x              # still prints: ( a='' )

Don't know if this is intended, but to me the last 2 lines look somewhat strange.

Regards,
Bernd

--
Bernd Eggink
[EMAIL PROTECTED]
http://sudrala.de
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to