mapfile a eval '(declare -A b for s in ${a[@]// /_};{ b[${s:'{0..132}':1}]+=1 } for k in ${!b[@]};{ printf %.0${b[$k]:8:1}s "${k/_/ }" }) '
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page