ref: 059b863fab96cf3ba65e74ad67221eec6cbcbe0c dir: /sys/src/cmd/qc/mkenam/
ed - ../qc/q.out.h <<'!' v/^ A/d g/^ AEND/s//&,/ g/^ ALAST/s//&,/ g/[ ]*=.*,/s//,/ v/,/p ,s/^ A/ "/ ,s/,.*$/",/ 1i char *anames[] = { . ,a }; . w enam.c Q !