Hi!
----
While writing an example for typeset -m I found an issue when a
typeset'ed variable with the attributes -i/-E/-T is moved into a
compound variable but then looses those attributes.
Example:
-- snip --
float y1=2.34
compound c
typeset -m 'c.y1=y1'
float c.y2=2.34
print -v c
-- snip --
AFAIK the expected output should look like this...
-- snip --
(
typeset -l -E y1=2.34
typeset -l -E y2=2.34
)
-- snip --
... but ast-ksh.2013-04-09 on SuSE 12.2/Linux/64bit prints this:
-- snip --
(
y1=2.34
typeset -l -E y2=2.34
)
-- snip --
The same happens for typeset -M... the example below...
-- snip --
typeset -M totitle y1=hello
compound c
typeset -m 'c.y1=y1'
typeset -M totitle c.y2=hello
print -v c
-- snip --
... should AFAIK print...
-- snip --
(
typeset -M totitle y1=HELLO
typeset -M totitle y2=HELLO
)
-- snip --
... but ast-ksh.2013-04-09 prints this:
-- snip --
(
y1=HELLO
typeset -M totitle y2=HELLO
)
-- snip --
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [email protected]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers