From owner-freebsd-questions@FreeBSD.ORG Tue Jul 4 19:10:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A981916A4DF for ; Tue, 4 Jul 2006 19:10:06 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60016.mail.yahoo.com (web60016.mail.yahoo.com [209.73.178.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F63B43D49 for ; Tue, 4 Jul 2006 19:10:05 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 34818 invoked by uid 60001); 4 Jul 2006 19:10:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FrLHvzxxoj6zMemzS7GFJn0EMiOP961q1XNlZr0WIryg0+UnsRcwq765S9Y0nJtPLrmUtCIRBn7cBj83jLMpaJHtfGTJd6ECnosAKsfEMgyZQbKj+ScjTvPIrFOf2eXQvBkFSr9Qxqct5k5qIwOTC7+LkGKVK0pl50HlGDQJGKI= ; Message-ID: <20060704191005.34812.qmail@web60016.mail.yahoo.com> Received: from [66.131.121.105] by web60016.mail.yahoo.com via HTTP; Tue, 04 Jul 2006 15:10:05 EDT Date: Tue, 4 Jul 2006 15:10:05 -0400 (EDT) From: Peter To: Olivier Nicole , dick@nagual.st In-Reply-To: <200607040803.k6483e9A029133@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: find syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2006 19:10:06 -0000 --- Olivier Nicole wrote: > > #find /dir/to/htmlfile -name *.html -exec perl -p -i -e > > "s/nagual.st/nagual.nl/g;" {} \; > > You should escape the * that you pass to find: > > -name \*.html Or -name "*.html" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com