From owner-freebsd-questions Fri Sep 27 11:13: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EB6637B401 for ; Fri, 27 Sep 2002 11:13:04 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C23443E65 for ; Fri, 27 Sep 2002 11:13:03 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 29826 invoked from network); 27 Sep 2002 18:12:58 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 27 Sep 2002 18:12:58 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 7A66F2FDAB2; Fri, 27 Sep 2002 20:12:56 +0200 (CEST) Date: Fri, 27 Sep 2002 20:12:56 +0200 From: Roman Neuhauser To: freebsd-questions@FreeBSD.ORG Subject: Re: find case-insensitive challenge Message-ID: <20020927181256.GS30361@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20020927175918.GQ30361@freepuppy.bellavista.cz> <200209271806.g8RI6j1T048566@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209271806.g8RI6j1T048566@lurza.secnetix.de> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # olli@secnetix.de / 2002-09-27 20:06:45 +0200: > Roman Neuhauser wrote: > > # olli@secnetix.de / 2002-09-27 19:37:15 +0200: > > > Slower? I don't think that -name "*.[Jj][Pp][Gg]" is any > > > slower than -iname "*.jpg". > > > > i was talking about find(1) completely rewritten as a shell script. > > OK, sorry then. np. i was saying that it's just a matter of where you want to stop because, followed to the limits, your logic would render find(1) completely redundant. > I wasn't really suggesting to rewrite find completely as a shell > script, but merely that _some_ of the "convenience" primaries aren't > really necessary, including -iname. > (Incidentally, most of these are non-portable inventions ...) -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 8:11PM up 10 days, 3:26, 13 users, load averages: 0.16, 0.07, 0.02 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message