⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpp.sh

📁 vc环境下的pgp源码
💻 SH
字号:
#!/bin/sh

# @(#) cpp.sh 1.3 92/01/15 21:53:22

# Unprototypeing preprocessor for pre-ANSI C compilers.  On some systems,
# this script can be as simple as:
#
#	/lib/cpp "$@" | unproto
#
# However, some cc(1) drivers specify output file names on the
# preprocessor command line, so this shell script must be prepared to
# intercept them.  Depending on the driver program, the cpp options may
# even go before or after the file name argument(s). The script below
# tries to tackle all these cases.
#
# You may want to add -Ipath_to_stdarg.h_file, -Dvoid=, -Dvolatile=, 
# and even -D__STDC__.

cpp_args=""

while :
do
	case $1 in
	"")	break;;
	-*)	cpp_args="$cpp_args $1";;
	 *)	cpp_args="$cpp_args $1"
		case $2 in
		""|-*)	;;
		    *)	exec 1> $2 || exit 1; shift;;
		esac;;
	esac
	shift
done

/lib/cpp $cpp_args | unproto

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -