On Tuesday 04 July 2006 08:59, dick hoogendijk wrote:
> I want to change a string in a number of html files (recursive)
>
> In a linux group I got this line:
>
> #find /dir/to/htmlfile -name *.html -exec perl -p -i -e
> "s/nagual.st/nagual.nl/g;" {} \;
>
> This gives me an error "unknown option" and does not work.
>
> Doing a: perl -p -i -e "s/nagual.st/nagual.nl/g;" * does make the changes
> alright, but going to all html directories this way is a pain in...;-)
>
> What am I doing wrong in the first (linux) line?
> Any help appreciated.

You could try puting single quotes (') round the *.html . Just a guess.

-- 
/Xian

"Reality is merely an illusion, albeit a very persistent one."
Albert Einstein
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to