[Ilugc] RE: ilugc Digest
- From: knutties@xxxxxxxxx (Natarajan K)
- Date: Wed Jul 13 14:42:12 2005
On 7/13/05, Ramkumar R <andyetitmoves@xxxxxxxxx> wrote:
$ find <folder> -type f -print0 | \
xargs perl -pi.bak -e 's/<find>/<replace>/g'
i think it should have been xargs -0 perl...
Goofed it up. I did not notice the print0 in the find command. -0 of
xargs and -print0 of find go hand in hand, I learnt from the xargs man
page.
Thanks,
Natarajan
--
http://puggy.symonds.net/~natarajan
Other related posts: