- 论坛徽章:
- 8
|
- typeset [-afFirtx] [-p] [name[=value] ...]
- Declare variables and/or give them attributes. If no names are
- given then display the values of variables. The -p option will
- display the attributes and values of each name. When -p is
- used, additional options are ignored. The -F option inhibits
- the display of function definitions; only the function name and
- attributes are printed. If the extdebug shell option is
- enabled using shopt, the source file name and line number where
- the function is defined are displayed as well. The -F option
- implies -f. The following options can be used to restrict out-
- put to variables with the specified attribute or to give vari-
- ables attributes:
- -a Each name is an array variable (see Arrays above).
- -f Use function names only.
- -i The variable is treated as an integer; arithmetic evalu-
- ation (see ARITHMETIC EVALUATION ) is performed when the
- variable is assigned a value.
复制代码 |
|