]> cloudbase.mooo.com Git - ddt180.git/blob - filter-unref.awk
c98c274619c08c5e0c65cb2db01f3370d1cbac8c
[ddt180.git] / filter-unref.awk
1 BEGIN {
2 ign["DDTZ_END"] = 1
3 ign["DEFVERS"] = 1
4 ign["P_MSG_ERROR"] = 1
5 }
6
7 /\x1A/ { exit }
8 /^Cross Reference/ { cross = 1 }
9
10 { if (cross != 1) next }
11 { if ($2 in ign) next }
12
13 /^[0-9A-F]{4}/ { if (NF == 3) printf "%s\n", $0 }