Remove the First Capital Letter from Each Element

  • + 0 comments

    !/bin/bash

    replace_char_at_position() { local cadena="2" local nuevo_caracter="{cadena:0:posicion}{cadena:((posicion + 1))} " } count=() aux=() while read n do count+=({count[@]}; do replace_char_at_position {aux[@]}"