Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
typeset
    typeset [options] [variable[=value ...]]
    typeset -p

In 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.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial