📄 cond.awk
字号:
# Simpleminded conditional-processor awk script# to permit use of a single .y source file for C and Objective C.# If objc=1, the ifobjc conditionals succeed.# If objc=0, the ifc conditionals succeed./^ifobjc$/,/^end ifobjc$/ \ { if (objc != 0 && $0 != "ifobjc" && $0 != "end ifobjc") print; next }/^ifc$/,/^end ifc$/ \ { if (objc == 0 && $0 != "ifc" && $0 != "end ifc") print; next }{ print }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -