From owner-freebsd-current@FreeBSD.ORG Thu Nov 4 17:52:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE1A816A4CE for ; Thu, 4 Nov 2004 17:52:41 +0000 (GMT) Received: from web14124.mail.yahoo.com (web14124.mail.yahoo.com [66.163.171.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 79A2D43D68 for ; Thu, 4 Nov 2004 17:52:41 +0000 (GMT) (envelope-from cguttesen@yahoo.dk) Received: (qmail 39470 invoked by uid 60001); 4 Nov 2004 17:52:41 -0000 Message-ID: <20041104175241.39468.qmail@web14124.mail.yahoo.com> Received: from [194.248.174.50] by web14124.mail.yahoo.com via HTTP; Thu, 04 Nov 2004 18:52:41 CET Date: Thu, 4 Nov 2004 18:52:41 +0100 (CET) From: Claus Guttesen To: Dan Nelson In-Reply-To: <20041104160758.GB50085@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-current@freebsd.org Subject: Re: find utility behaves different in 5.2 and 5.3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 17:52:41 -0000 > > 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