Hello, On Tue, 29 Apr 2014, Carlos E. R. wrote:
El 2014-04-28 a las 06:33 +0400, Andrey Borzenkov escribió:
? Sun, 27 Apr 2014 22:43:02 +0200 "Carlos E. R." <> ?????: No you did not. You misunderstand how -prune works. To prune this list you need
\( -path /var/spool/news -o -path /var/run/udev/links -o ... \) -prune ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ -o \( -type f <whatever you want to do with non-pruned paths> \) [..] Notice that it is working, kind of. It does not "find" "/var/spool/news/message.id/" or any of the million files under it.
Because you -pruned that path. The "action" "-prune" applies to the whole expression before it. I.e.: \( -path a -o -path b -o -path c -o -path d \) -prune is the same as -path a -prune -o -path b -prune -o -path c -prune -o -path d -prune HTH -dnh -- / "People from East Germany find the West so confusing. It's so much \ [ easier when you have only one choice." -- Linus Torvalds, explaining ] \ why having $BIGNUM Linux distributions is not necessarily a bad thing / -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org