From owner-freebsd-current@FreeBSD.ORG Thu Nov 4 16:08:00 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 208FD16A4CE for ; Thu, 4 Nov 2004 16:08:00 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93AB043D3F for ; Thu, 4 Nov 2004 16:07:59 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iA4G7wEj020989; Thu, 4 Nov 2004 10:07:58 -0600 (CST) (envelope-from dan) Date: Thu, 4 Nov 2004 10:07:58 -0600 From: Dan Nelson To: Claus Guttesen Message-ID: <20041104160758.GB50085@dan.emsphone.com> References: <20041104155104.29925.qmail@web14127.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041104155104.29925.qmail@web14127.mail.yahoo.com> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i 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 16:08:00 -0000 In the last episode (Nov 04), Claus Guttesen said: > On 5.3 I can execute the following line in zsh: > > odin~%>find . -type d \! -name autoedit -depth 1 > ./172 > > On a 5.2 I get: > > 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. -- Dan Nelson dnelson@allantgroup.com