Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 18:52:41 +0100 (CET)
From:      Claus Guttesen <cguttesen@yahoo.dk>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: find utility behaves different in 5.2 and 5.3
Message-ID:  <20041104175241.39468.qmail@web14124.mail.yahoo.com>
In-Reply-To: <20041104160758.GB50085@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > cyclop~%>find . -type d \! -name autoedit -depth 1
> > find: 1: unknown option
> > According to 'man 1 find' (examples) I should be
able
> > to use \! -name on 5.2.
> 
> And you can.  5.2 is complaining about the "1".  The
> "-depth n" syntax
> was added between 5.2 and 5.3, so that's why it
> fails on 5.2.

Shoot! I'm apparently blind on one eye and can't see
with the other. I'll use -maxdepth. Thank you.

Claus



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