read a b=${#a} d=${a:0:1} echo -n $d for((i=1;i