i=0word="hello" for ((i=1;i<=${#word};i++)) do echo "Letter $i" $word | cut -c$idone
Standard input is empty
L e t t e
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!