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. $foo = "Letter $i";
  7. $foo .= $word | cut -c$i;
  8. echo $foo;
  9. done
Success #stdin #stdout 0.03s 5316KB
stdin
Standard input is empty
stdout