Hello, I was looking at the following script: #!/bin/ksh KEY="AAAAAA" typeset -L3 DISP=$KEY print "$DISP;" KEY="BBBBBB" typeset -L6 DISP=$KEY print "$DISP;"
its output is: AAA; BBB ; which looks rather surprising to me. It seems that typeset first assigns a value to a variable and then changes its attributes. I believe this is a difference between ksh88 and ksh93 (ksh88 would output 'BBBBBB;' on the second line), can you please confirm this? If yes, should this be documented (e.g., in the COMPATIBILTY document)? Or is it a bug? Thanks in advance for the answers, -- Tomáš Smetana _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
