|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hi,
I want make cscope index of the linux kernel, ARM platform is only my concern.So I write the following scripte to generate cscope.files find .. \ -path "../arch/*" ! -path "../arch/arm" -prune -o \ -path "../include/asm-*" ! -path "../include/asm-arm" -prune -o \ -path "../tmp*" -prune -o \ -path "../Documentation*" -prune -o \ -path "../scripts*" -prune -o \ -name "*.[chxsS]" -print >./cscope.files but the problem is that cscope.files doesnot contain any file names of the ../arch/arm and ../include/asm-arm directory.The ..arch/arm and .../include/asm-arm directory is skipped. Do you have an idea for this problem ? Thanks a lot. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
2006-11-9, 01:59(-08), bcjrstan@gmail.com:
> hi, > I want make cscope index of the linux kernel, ARM platform is only my > concern.So I write the following scripte to generate cscope.files > > find .. \ > -path "../arch/*" ! -path "../arch/arm" -prune -o \ [...] -path "../arch/*" ! -path "../arch/arm" ! -path "../arch/arm/*" -prune -o \ Otherwise ../arch/arm/foo is -pruned and not -printed. -- Stéphane |
|
![]() |
| Outils de la discussion | |
|
|