Count the number of elements in an Array

  • + 0 comments
    readarray a;
    echo "${#a[@]}"