Quote:
Originally Posted by
DGPickett
"typeset -i" ... allow ksh to store it in integer not ascii, which speeds things up
That was my intention in this case. I wasn't actually looking to format the variable. I'm just using it as a binary flag. If the flag is not empty then my code was assuming that it had been deliberately set. This worked fine until I deployed on AIX 7.1, as shown in the original post.
At this point I've made the code portable by removing "-i" from the typeset command. I'm still curious, though, if either way is correct, or of the language leaves this unspecified.