Number of Parameters
$BASH_ARGC
contains the number of arguments for each subroutine on the call stack.
This variable is only available in extended debugging mode.
Links
Examples
Print number of arguments when executed in the Bash debugger :
|
|
BashSupport Pro is a Bash IDE with support for $BASH_ARGC – try it now!