7 printf "$set %d %s\n", major, $3 > output
10 majorName = substr($3, 2)
13 printf "#define %sSet %#x\n", majorName, major > header
21 minorName = substr($2, 2)
22 printf "#define %s%s %#x\n", majorName, minorName, minor > header
28 printf "%d %s\n", minor, text > output
31 ! /^(\$|#)/ { print > output }