From owner-freebsd-questions@FreeBSD.ORG Tue Jul 4 12:22:36 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 EAD2416A4E2 for ; Tue, 4 Jul 2006 12:22:36 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id A242743D68 for ; Tue, 4 Jul 2006 12:22:30 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-203-170.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.170]) by smtp01.lnh.mail.rcn.net with ESMTP; 04 Jul 2006 08:24:32 -0400 X-IronPort-AV: i="4.06,204,1149480000"; d="scan'208"; a="233167407:sNHT21439880" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17578.23856.160376.463194@jerusalem.litteratus.org> Date: Tue, 4 Jul 2006 08:21:04 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <200607040803.k6483e9A029133@banyan.cs.ait.ac.th> References: <20060704075943.GA17920@lothlorien.nagual.st> <200607040803.k6483e9A029133@banyan.cs.ait.ac.th> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid 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 12:22:37 -0000 Olivier Nicole writes: > > #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 quote it: find /dir/to/htmlfile -name "*.html" Robert Huff