All Questions
Tagged with bash-array zsh
1 question
7
votes
2
answers
10k
views
Find array length in zsh script
Is there a way to find the length of the array *(files names) in zsh without using a for loop to increment some variable?
I naively tried echo ${#*[@]} but it didn't work. (bash syntax are welcome ...