{for(n=NF;n;v[i+1]=$(n--))for(i=++m;--i&&$n<v[i];)v[i+1]=v[i]}END{for(;j++<m;)printf v[j]!=v[++j]?v[--j]FS:_}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page