> "Mathew" == Mathew Hennessy <[EMAIL PROTECTED]> writes:
Mathew> Fair enough, though for truly oneoff stuff find |while read is still my
Mathew> friend...
Mathew> find ./ -type f -name *.bak -mtime +30 |while read f; do echo "removing
Mathew> [$f]"; rm -f $f; done
Mathew> (on solaris)
Math
"Randal L. Schwartz" wrote:
>
> > "Jeff" == Jeff Yoak <[EMAIL PROTECTED]> writes:
>
> Jeff> At 11:50 PM 6/7/01 +, scott lutz wrote:
> >> I have a this fancy bit of recursive search and replace code that I
> >> picked up somewhere, but I would greatly appreciate it if one of the
> >> guru
--- scott lutz <[EMAIL PROTECTED]> wrote:
> I have a this fancy bit of recursive search and replace code that I
> picked
> up somewhere, but I would greatly appreciate it if one of the gurus
> could
> explain it in English for me:
>
> find . -type f -print0 | xargs -0 perl -pi -e 's/< here>>/<
> "Jeff" == Jeff Yoak <[EMAIL PROTECTED]> writes:
Jeff> At 11:50 PM 6/7/01 +, scott lutz wrote:
>> I have a this fancy bit of recursive search and replace code that I
>> picked up somewhere, but I would greatly appreciate it if one of the
>> gurus could explain it in English for me:
>>
>
At 11:50 PM 6/7/01 +, scott lutz wrote:
>I have a this fancy bit of recursive search and replace code that I picked
>up somewhere, but I would greatly appreciate it if one of the gurus could
>explain it in English for me:
>
>find . -type f -print0 | xargs -0 perl -pi -e 's/>/<>/g'
Joh
On Thu, Jun 07, 2001 at 11:50:01PM +, scott lutz wrote:
> I have a this fancy bit of recursive search and replace code that I picked
> up somewhere, but I would greatly appreciate it if one of the gurus could
> explain it in English for me:
>
> find . -type f -print0 | xargs -0 perl -pi -e
I have a this fancy bit of recursive search and replace code that I picked
up somewhere, but I would greatly appreciate it if one of the gurus could
explain it in English for me:
find . -type f -print0 | xargs -0 perl -pi -e 's/<>/<>/g'
Scott Lutz
___