📄 ex_proto.pl
字号:
#!/bin/csh#-----------------------------------------------# file: ex_proto.pl ## Extract prototypes of void functions from # C source files in argument list. Write# these prototypes to standard out.## 8/7/96 -- KAR #-----------------------------------------------awk 'BEGIN { iflag = 0 }/void/ { iflag = 1 val = $0 next; }/\)/ { if ( iflag ) { val = val "\n" $0 ";" printf("%s\n\n", val) iflag = 0 next } else { next } } { if ( iflag ) { val = val "\n" $0 next } else next }' $*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -