find . -name "*.h" -o -name "*.c" -o -name "*.cc" > cscope.files
cscope -bkq -i cscope.files
cscope -bkq -i cscope.files
本文介绍如何使用 find 命令配合 Cscope 工具进行文件搜索,具体展示了如何查找以 .h, .c 和 .cc 结尾的文件并将其列表写入 cscope.files 文件中,以便于后续的代码检索。
7322

被折叠的 条评论
为什么被折叠?