Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
typeset [options] [variable[=value ...]]
typeset -pIn Bash, identical to declare. See declare .
In the Korn shell, assign a type to each variable (along with an optional initial value), or, if no variables are supplied, display all variables of a particular type (as determined by the options). When variables are specified, - option enables the type, and +option disables it. With no variables, - option prints variable names and values; +option prints only the names.
The second form shown is specific to ksh93.