f=new File('a') f<<'' s=f.text.split('/') System.in.eachLine{l->f<<l l=~/^s/||19.times{i=3*it+1;l=l.replaceFirst(~s[i],s[i+1])}<println(l)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page