mix lines by pataiji

r=readlines.map(&:chop);puts r.map(&:length).max.times.inject(''){|s,i|s<<r.map{|b|b[i]}.join}

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

download

return to the top page