Subject: bug#27456: 25.2; Not possible to use -prune with find-dired

From: Andreas Schwab <[email-masked]>
Date: Thu, 13 Jul 2017 09:32:50 +0200

On Jun 22 2017, Allen Li <[email-masked]> wrote:

> It is not possible to effectively use the -prune action with find-dired.
>
> With plain find, -prune would be used like:
>
>     find . -name "foo*" -prune -o -name "*.el" -ls

You can use the comma operator instead of -o, so that the left operand
is only evaluated for its side effect (of -prune).

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."