changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/cmd/7l/mkcname

revision 7144: d0b9ab522e8b
     1.1new file mode 100644
     1.2--- /dev/null
     1.3+++ b/sys/src/cmd/7l/mkcname
     1.4@@ -0,0 +1,17 @@
     1.5+ed - l.h <<'!'
     1.6+v/^	C_/d
     1.7+g/^	C_NCLASS/s//&,/
     1.8+g/[ 	]*=.*,/s//,/
     1.9+v/,/p
    1.10+,s/^	C_/	"/
    1.11+,s/,.*$/",/
    1.12+1i
    1.13+char	*cnames[] =
    1.14+{
    1.15+.
    1.16+,a
    1.17+};
    1.18+.
    1.19+w cnam.c
    1.20+Q
    1.21+!