📄 chk.def
字号:
#!/bin/sh -## $Id: chk.def,v 1.4 2000/12/12 18:20:59 bostic Exp $## Check to make sure we haven't forgotten to add any interfaces# to the Win32 libdb.def file.# Run from the top-level directory.[ -f db_config.h ] && cd ..f=build_win32/libdb.deft1=/tmp/__1t2=/tmp/__2sed '/; /d' $f | egrep @ | awk '{print $1}' | sed -e '/db_xa_switch/d' \ -e '/^__/d' -e '/^;/d' | sort > ${t1}egrep __P include/db.src | sed '/^[a-z]/!d' | awk '{print $2}' | sed 's/^\*//' | sed '/^__/d' | sort > ${t2}if cmp -s ${t1} ${t2} ; then :else echo "<<< libdb.def" echo ">>> DB include files" diff ${t1} ${t2}fi# Check to make sure we don't have any extras in the libdb.def file.sed '/; /d' $f | egrep @ | awk '{print $1}' | sed -e '/__db_global_values/d' > ${t1}for i in `cat ${t1}`; do if egrep $i */*.c > /dev/null; then : else echo "$f: $i not found in DB sources" fidonerm -f ${t1} ${t2}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -