List of initialized indexes
suggest changeGet the list of inialized indexes in an array
$ arr[2]='second'
$ arr[10]='tenth'
$ arr[25]='twenty five'
$ echo ${!arr[@]}
2 10 25
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents