: 'this file builds "tokens.pdp" and "tokens.ibm" from "tokens.c"'
: "PDP 11 version "
	grep "," tokens.c | grep -n "^" > tokens.pdp
: "use editor script from a file so it works for v6 and v7 shells"
	ed tokens.pdp < tokens.ed
: "IBM or other unsigned character machine version"
	awk ' { $3 = sprintf("%d",127. - $3); print }' tokens.pdp > tokens.ibm
