📄 conv_proto
字号:
#! /bin/sh## do some automatic conversion of prototypes#if test "$1" = "" ; then echo "usage: $0 list-of-files" exit 1fitmpfile=`mktemp -q /tmp/asd.XXXXXX`if test "$?" != "0" ; then echo "$0: cannot create temporary file" exit 1fifor file in ${1+"$@"} ; do echo "working on $file" cat $file | \ sed -e \ 's/void php3_\(.*\)(INTERNAL_FUNCTION_PARAMETERS)/PHP_FUNCTION(\1)/' \ -e 's/^extern void /void /' \ -e 's/^extern PHP_FUNCTION/PHP_FUNCTION/' > $tmpfile cp $tmpfile $filedonerm -f $tmpfileexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -