Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/ql/mkcname
ed - ../ql/l.h <<'!' v/^ C_/d g/^ C_NCLASS/s//&,/ g/[ ]*=.*,/s//,/ v/,/p ,s/^ C_/ "/ ,s/,.*$/",/ 1i char *cnames[] = { . ,a }; . w cnam.c Q !