BEGIN {In=1} sub(/^\#\|/,"") {In=1} sub(/^\|\#/,"") {In=0} sub(/^;/,"") {print; next} /^[ \t]*$/ {print; next} {print (In ? "" : " ") $0}