#!ruby -n puts"mgsAKld".gsub(/./){t=0;gsub(/(\S*#$&)(2)?\b/){t+=$2?2:1};"#$1#{t>1?t:""} "}.split*" "
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page