From owner-freebsd-questions@FreeBSD.ORG Tue Jul 4 08:03:52 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 CAC2A16A4DF for ; Tue, 4 Jul 2006 08:03:52 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id CABBC43D5E for ; Tue, 4 Jul 2006 08:03:45 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id k6483fp5048041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Jul 2006 15:03:41 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id k6483e9A029133; Tue, 4 Jul 2006 15:03:40 +0700 (ICT) Date: Tue, 4 Jul 2006 15:03:40 +0700 (ICT) Message-Id: <200607040803.k6483e9A029133@banyan.cs.ait.ac.th> From: Olivier Nicole To: dick@nagual.st In-reply-to: <20060704075943.GA17920@lothlorien.nagual.st> (message from dick hoogendijk on Tue, 4 Jul 2006 09:59:43 +0200) References: <20060704075943.GA17920@lothlorien.nagual.st> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) 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 08:03:52 -0000 > #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 Most probably. olivier