bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Find's -prune ing shears must be dull ...


From: Keith Roberts
Subject: Find's -prune ing shears must be dull ...
Date: Tue, 14 Oct 2003 14:16:42 -0700

Here's my command:

find /usr/wpas/ \( -path *source -o -path *procs -o -path *\&* -o -path *.L
-o -path *BP.O -o -path *SUBS.O -o -path *REPORT \) -prune -or -type d \(
-name BP* -o -name *BP -o -name *PROG* -o -name *FUNC* -o -name *SUBS* -o
-name *FMCS* -o -name INC* -o -name *INC -o -name PROMPTS* \) -print | tee
/usr/wpas/source.dirs

Here's the results:

/usr/wpas/ADB.EXE/BP
/usr/wpas/ADB.EXE/DB.BP
/usr/wpas/ADB.EXE/DB.INC
/usr/wpas/ADB.EXE/INSTALL/UV.BP
/usr/wpas/ADB.EXE/INSTALL/PICK.BP
/usr/wpas/ADB.EXE/INSTALL/APX.BP
/usr/wpas/ADB.EXE/PROMPTS
/usr/wpas/DEV/BP
/usr/wpas/DEV/INCLUDE
/usr/wpas/TEST/BP
/usr/wpas/TEST/INCLUDE
/usr/wpas/ADMIN/BP
/usr/wpas/ADMIN/UPD.SUBS
/usr/wpas/ADMIN/UPD.SUBS/UPD.SUBS
/usr/wpas/CORP/BP
/usr/wpas/CORP/NBP
/usr/wpas/CORP/UPD.SUBS
/usr/wpas/CORP/UPD.SUBS/UPD.SUBS
/usr/wpas/CORP/FTBP
/usr/wpas/CORP/CORP.FMCS
/usr/wpas/CORP/INCLUDE
/usr/wpas/CLAIMS/BP
/usr/wpas/CLAIMS/CLAIMS.FMCS
/usr/wpas/CLAIMS/PROMPTS
/usr/wpas/CLAIMS/INCLUDE
/usr/wpas/CLAIMS/BP.ORIG
/usr/wpas/CLAIMS/UF.BP
/usr/wpas/CONTROL/UPD.SUBS
/usr/wpas/CONTROL/UPD.SUBS/UPD.SUBS
/usr/wpas/DENTAL/BP
/usr/wpas/DENTAL/UPD.SUBS
/usr/wpas/DENTAL/UPD.SUBS/UPD.SUBS
/usr/wpas/DENTAL/INCLUDE
/usr/wpas/DOC/BP
/usr/wpas/DOC/FTBP
/usr/wpas/DOC/OBJBP
/usr/wpas/DOC/GUIBP
/usr/wpas/DOC/INCLUDE
/usr/wpas/FONE/UPD.SUBS
/usr/wpas/FONE/UPD.SUBS/UPD.SUBS
/usr/wpas/FONE/BP
/usr/wpas/FONE/INCLUDE
/usr/wpas/FORGE.DEV/ZBP
/usr/wpas/FORGE.DEV/ZBP/ZBP
/usr/wpas/FORGE.DEV/BP
/usr/wpas/FORGE.DEV/INCLUDE
/usr/wpas/LEGAL/BP
/usr/wpas/LEGAL/INCLUDE
/usr/wpas/MEDICAL/BP
/usr/wpas/MEDICAL/UPD.SUBS
/usr/wpas/MEDICAL/UPD.SUBS/UPD.SUBS
/usr/wpas/MEDICAL/D_UPD.SUBS
/usr/wpas/MEDICAL/INCLUDE
/usr/wpas/OPERATOR/UPD.SUBS
/usr/wpas/OPERATOR/UPD.SUBS/UPD.SUBS
/usr/wpas/OPERATOR/UTL.BP
/usr/wpas/OPERATOR/DAM.BP
/usr/wpas/OPERATOR/UTL.INC
/usr/wpas/OSS/BP
/usr/wpas/OSS/UPD.SUBS
/usr/wpas/OSS/UPD.SUBS/UPD.SUBS
/usr/wpas/OSS/INV.FMCS
/usr/wpas/TG/BP
/usr/wpas/TG/UPD.SUBS
/usr/wpas/TG/UPD.SUBS/UPD.SUBS
/usr/wpas/TG/D_UPD.SUBS
/usr/wpas/TG/INCLUDE
/usr/wpas/VISION/BP
/usr/wpas/VISION/INCLUDE
/usr/wpas/WP/WP-PROGS
/usr/wpas/WP/WP-PROGS/WP-PROGS
/usr/wpas/WP/JET.BP
/usr/wpas/WP/BP
/usr/wpas/WP/INCLUDE
/usr/wpas/WPAS/BP
/usr/wpas/WPAS/INCLUDE
/usr/wpas/fnsba/BP
/usr/wpas/KROBERTS/LOCAL.BP
/usr/wpas/KROBERTS/LOCAL.INC
/usr/wpas/PURGE/BP
/usr/wpas/PURGE/INCLUDE
/usr/wpas/RELEASE/FIN.BP
/usr/wpas/RELEASE/PR.BP
/usr/wpas/RELEASE/GL.BP
/usr/wpas/RELEASE/HELP.BP
/usr/wpas/RELEASE/AP.BP
/usr/wpas/RELEASE/UTL.BP
/usr/wpas/RELEASE/BP
/usr/wpas/RELEASE/INCLUDE
        /usr/wpas/source/ADB.EXE/PROMPTS
        /usr/wpas/source/CLAIMS/PROMPTS
        /usr/wpas/source/WP/WP-PROGS
/usr/wpas/KEITHA/RCS.BP
/usr/wpas/KEITHA/BP
/usr/wpas/RESET.DR/BP
/usr/wpas/RESET.DR/INCLUDE


Notice the 3 indented lines?  They shouldn't be there, because
'/usr/wpas/source/' clearly is pruned by the command.

What gives?  :)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]