📄 s_tags
字号:
#!/bin/sh -# $Id: s_tags,v 1.18 2004/04/01 15:11:14 bostic Exp $## Build tags files.files=`echo ../dbinc/*.h \ ../dbinc/*.in \ ../btree/*.[ch] \ ../clib/*.[ch] \ ../common/*.[ch] \ ../crypto/*.[ch] \ ../crypto/mersenne/*.[ch] \ ../crypto/rijndael/*.[ch] \ ../db/*.[ch] \ ../db185/*.[ch] \ ../dbm/*.[ch] \ ../dbreg/*.[ch] \ ../env/*.[ch] \ ../fileops/*.[ch] \ ../hash/*.[ch] \ ../hmac/*.[ch] \ ../hsearch/*.[ch] \ ../lock/*.[ch] \ ../log/*.[ch] \ ../mp/*.[ch] \ ../mutex/*.[ch] \ ../os/*.[ch] \ ../qam/*.[ch] \ ../rep/*.[ch] \ ../rpc_client/*.[ch] \ ../rpc_server/c/*.[ch] \ ../sequence/*.[ch] \ ../tcl/*.[ch] \ ../txn/*.[ch] \ ../xa/*.[ch] \ ../cxx/*.cpp \ ../libdb_java/*.[ch] | sed 's/[^ ]*stub.c//g'`f=tagsecho "Building $f"rm -f $f# Figure out what flags this ctags accepts.flags=""if ctags -d ../db/db.c 2>/dev/null; then flags="-d $flags"fiif ctags -t ../db/db.c 2>/dev/null; then flags="-t $flags"fiif ctags -w ../db/db.c 2>/dev/null; then flags="-w $flags"fictags $flags $files 2>/dev/nullchmod 444 $ff=../test_perf/tagsecho "Building $f"(cd ../test_perf && ctags $flags *.[ch] 2>/dev/null)chmod 444 $f
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -