summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pclnfss/src/rmligdups.awk
blob: 83445ec7941de3b1486355831e029d3f236325d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# At kern steps, just save away the value, so only the last one will be output.
/\(KRN/		{ lk_table[$3] = $0; next }

# Assume (STOP)'s are in the right place.
# This rearranges the order, but oh well.
# It's random by the time the vpl file has been written anyway.
/\(STOP\)/	{ for (lk in lk_table)
		    {
		      print lk_table[lk];
		      delete lk_table[lk];
		    }
		}

		{ print }