Mail merge by llhuii

BEGIN{RS="\n(\\$.)?1\n"}b=a{for(;$++i;)sub(/@i/,$i,b)}i=FS=ORS{a||a=$0}$0=b

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page