BEGIN{RS=" |\n"}{for(s=j=_;c=substr($0,++j,1);)s=c s NR%2?s=$0:i-=j printf"%"i"s"s"\n",_ NR%2&&i+=j}