{ if ($1 == "|") $1 = nt; else nt = $1; printf "$%s ", nt; for (i = 2; i <= NF; i++) printf "$%s ", $i; printf "\n"; }