[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Collective memory query



On Mon, Sep 27, 2004 at 12:48:03PM +0100, Dale Amon wrote:
> A couple years ago I ran across a sed like program
> that will recursively descend through a tree and apply
> specified edits in place.
> Has anyone else run across a program of this nature?

This is probably more appropriate for -user but did you mean perl -pi?

e.g. find some_dir -type f|xargs perl -pi -e 's/foo/bar/; s/wibble/wobble/'

Simon.

-- 
[ "Fun, fun, fun, in the sun, sun, sun..."                             ]
        Black Cat Networks.  http://www.blackcatnetworks.co.uk/

Attachment: pgpDdNuikcyuG.pgp
Description: PGP signature


Reply to: