$parameters  –  Mapping of parameter name to type

$parameters maps the available parameters to strings describing their type and flags. The values follow the (t) parameter expansion flag.

Examples

Print all parameters with type and flags
1
typeset -A parameters
Output:
1
2
# only the first two key-value pairs are shown
parameters=( [RANDOM]=integer-special [USERNAME]=scalar-special ... )
BashSupport Pro is a Zsh IDE with support for $parameterstry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal