512.times{|i|puts"%04o is #{(0..9).map{|j|'-xrw'[i[9-j]*(j%3+1),1]}}"%i}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page