fork download
  1. i=0
  2. word="hello"
  3.  
  4. //read -p "Please enter a word to spell: " word
  5. for ((i=1;i<=${#word};i++)) do
  6. echo "Letter $i" . $word | cut -c$i
  7. done
Success #stdin #stdout 0.02s 5312KB
stdin
Standard input is empty
stdout
L
e
t
t
e