Remove the First Capital Letter from Each Element

  • + 0 comments

    My solution: #!/bin/bash

    array=()

    while read -r entrada; do array+=("$entrada") done

    echo ${array[@]/[a-zA-Z]/.}