BEGIN{FS="$"}{a[$1]||a[b[++c]=$1]++;a[$1]*="0x"$2}END{for(m=8^8;v=a[b[++d]];){printf(b[d]FS(v>m?"%":"%0.")"x%x\n",v/m,v%m)}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page