fork download
  1. #!/bin/bash
  2. read s;for i in `seq ${#s};seq $[${#s}-1] -1 1`;{ echo ${s:0:$i};}
Success #stdin #stdout 0s 19632KB
stdin
Oh yeah yeah
stdout
O
Oh
Oh
Oh y
Oh ye
Oh yea
Oh yeah
Oh yeah
Oh yeah y
Oh yeah ye
Oh yeah yea
Oh yeah yeah
Oh yeah yea
Oh yeah ye
Oh yeah y
Oh yeah
Oh yeah
Oh yea
Oh ye
Oh y
Oh
Oh
O