Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2006 08:21:04 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: find syntax
Message-ID:  <17578.23856.160376.463194@jerusalem.litteratus.org>
In-Reply-To: <200607040803.k6483e9A029133@banyan.cs.ait.ac.th>
References:  <20060704075943.GA17920@lothlorien.nagual.st> <200607040803.k6483e9A029133@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17578.23856.160376.463194>