#!ruby -n puts'm kg s A K mol cd'.gsub(/\w+/){c=0;[$&%scan(/#$&(2)?\b/){c+=$1?2:1},c][0,c]}.split*' '
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page