• + 0 comments

    Using mapfile:

    mapfile -n 5 -s 3 -t array
    echo "${array[@]}"