• + 0 comments

    This was my solution> #!/bin/bash

    i=10 i2=0 array1=()

    while ((i));do read dato array1=("dato") #echo "((i2+1)) done

    declare -a patter=(${array1[@]/[a-zA-Z]a/})

    echo ${patter[@]}