I wanted to prune multiple branches and only the first one is being pruned. What am I doing wrong?
I tried using "-a" instead of "-o" with no luck!
Also, is there an easier way to accommodate file names with spaces other than that
sed command?
Thanks,
Siegfried
/usr/bin/find . \( -path ./Application/PRD -prune -o -path ./setup/products/PRDWeb -prune -o -path ./products/PRDWeb -prune \) -o -print |
sed -e 's/^.*$/"\0"/' | xargs grep -in "PRD\\(WEB\\(UID\\|PWD\\|SERVER\\)\\|UID\\|PWD\\|USERNAME\\|PASSWORD\\|SERVER\\)"