Re: Gurus Wanted!!

2001-06-08 Thread Randal L. Schwartz
> "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

Re: Gurus Wanted!!

2001-06-08 Thread Mathew Hennessy
"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

Re: Gurus Wanted!!

2001-06-08 Thread Paul
--- 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>>/<

Re: Gurus Wanted!!

2001-06-08 Thread Randal L. Schwartz
> "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: >> >

Re: Gurus Wanted!!

2001-06-08 Thread Jeff Yoak
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

Re: Gurus Wanted!!

2001-06-07 Thread John Joseph Trammell
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

Gurus Wanted!!

2001-06-07 Thread scott lutz
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 ___