BEGIN {FS = "="
print "report_title=unix environment (example with awk)"
print "$1=400"
print "$2=4000"
print "[header]"
print "{f=arial;s=10}"
print "{spacing=600;\n}"
print "{b=y;u=y;$1} Variable {$2} Value {b=n;u=n;\n;\n}"
print "[data]"}
{
print "{$1} " $1 " {$2}= " $2 "{\n}"
} |