Why does "ksh" built-in "typeset" command initiate integer variables with zero
Issue
- Why does "ksh" built-in "typeset" command initiate integer variables with zero?
Example:
# typeset -i VAR
# echo $VAR
0
Environment
- Red Hat Enterprise Linux 5
- ksh-20080202-14.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.