Ejection simplified by bk1e

$<.map{|l|c=l[0..0]
m=l[1..-3]
puts l=~/ /?c+m.tr("$#R"," ")+c+m.tr(" ",""):l}

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

download

return top