Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 1995 21:17:14 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        j@uriah.heep.sax.de, jkh@time.cdrom.com
Cc:        current@freebsd.org
Subject:   Re: Broken find??
Message-ID:  <199508191117.VAA02300@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> root@time-> find . -x -print
>> find: -x: unknown option

>Find's pretty :) syntax differentiates clearly between options and
>(minute... must RTFM first...) `primaries'.  So better write:

>	find -x . -print

>(where the -print is obsolescent in 4.4BSD, if you are a lazy type
>[and i know you are :)]).

-xdev is documented as "historical" but still works as a ... `primary'.
I think -print is the default in POSIX.  It is certainly the default in
gnu find too.  The man page has obsolescent examples, all with unnecessary
-print's.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508191117.VAA02300>