Answers for "bash map lenght"

0

bash map lenght

$ declare -A array
$ array[foo]='something'
$ array[bar]='blah'
$ array[42]='nothing'
$ echo ${#array[@]}
3
Posted by: Guest on October-30-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language