Declare variables and/or give them attributes. If no NAMEs are
given, then display the values of variables instead. The -p option
will display the attributes and values of each NAME.
The flags are:
-a
[tab]
to make NAMEs arrays (if supported)
-f
[tab]
to select from among function names only
-F
[tab]
to display function names (and line number and source file name if
[tab]
debugging) without definitions
-i
[tab]
to make NAMEs have the `integer' attribute
-r
[tab]
to make NAMEs readonly
-t
[tab]
to make NAMEs have the `trace' attribute
-x
[tab]
to make NAMEs export
Variables with the integer attribute have arithmetic evaluation (see
`let') done when the variable is assigned to.
When displaying values of variables, -f displays a function's name
and definition. The -F option restricts the display to function
name only.
Using `+' instead of `-' turns off the given attribute instead. When
used in a function, makes NAMEs local, as with the `local' command.