b=nchar(a<-readLines("stdin")) for(i in 1:b)for(j in 1:i)write(substr(a,b-i+1,b-i+j),"")

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page