BEGIN{FS=OFS=b}{for(i=1;i<=NF;i++){if(u=index("({[",$i))a[n++]=substr(")}]",u,1) if($i=="?")$i=a[--n]}}1
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page