|
我想对内核建一个索引,但只想索引i386的相关文件,不想索引什么asm,h8k平台下的文件
,写了如下语句
find . \
-path "$LNX/arch/*" ! -path "$LNX/arch/i386*" -prune -o \
-path "../include/asm-*" ! -path "../include/asm-i386" -prune -o \
-path "../tmp*" -prune -o \
-path "../Documentation*" -prune -o \
-path "../scripts*" -prune -o
-name "*.[chxsS]" -print >./cscope.files
但效果是整个arch/i386目录下的文件,整个include/asm-i386目录下的文件也全忽略了,请
教如何处理,谢谢 |
|