On Thu, Nov 28, 2019 at 8:51 PM Daniel Shahaf <d...@daniel.shahaf.name> wrote:
> Nathan Hartman wrote on Fri, 29 Nov 2019 01:41 +00:00: > > On Thu, Nov 28, 2019 at 4:18 PM Daniel Shahaf <d...@daniel.shahaf.name> > wrote: > > > Is -prune portable? I don't see it in the POSIX spec of find(1). > > > > Where did you look? This page mentions -prune and even provides an > example: > > https://pubs.opengroup.org/onlinepubs/009695399/utilities/find.html > > Sorry, my look-up was incorrect. -prune is indeed in POSIX. Sorry for > the confusion. > > (To answer your question, I looked in the find(1posix) man page provided > by the manpages-posix/manpages-posix-dev Debian packages, but forgot > those man pages use dashes rather than ASCII hyphen-minuses: > <https://bugs.debian.org/863253>.) Now I'm glad I asked because I learned two useful things. (I didn't know about those Debian packages and I would have been bewildered by my searches failing thanks to those dashes.) Thanks! Nathan