📄 gen-ent
字号:
#!/bin/shechoecho Generating entity table.(cat entities.lnx | grep '^[ ]*{"' | sort >tmpN=`cat tmp | wc -l`echo '/* Automatically generated by gen-ent */'echoecho 'struct { char *s; int c; } entities ['`expr $N + 1`'] = {'cat tmpecho ' {NULL, 0}'echo '};'echoecho '#define N_ENTITIES' $N) > ../entity.incrm -f tmpecho Done.echo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -