Re: Recursive find and replace

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Art
Date:  
To: plug-discuss
Subject: Re: Recursive find and replace
--- David Koopman <> wrote:
> Anybody have a quick easy way to do recursive find and replace?
>
> Here is my complicated stab at it, but I must say this was a pain to
> write. I think there must be a utility for doing this to make this
> much much much easier?

...
> echo '#!/usr/local/bin/php -q' > /tmp/fix.php
> chmod 755 /tmp/fix.php
> echo '<?php


I'd just do a Unix one-liner with "find", "sed" and "mv",
or a short Perl script.

Art


        
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss