search replace
- From: "Tom Braun" <thomas.braun@xxxxxxxxxx>
- Date: Tue, 23 Aug 2005 07:14:33 +0200
dear perl gurus,
perl -pi -e 's,/bin/uv,/bin/uvdls,g' /home/*/.profile
i created this command to recursively replace
/bin/uv
with
/bin/uvdls
in the /home-subdirectories. now this command replaces also "/bin/uvxyz".
i'd prefer if it replaces "/bin/uv" only.
thank you for your help
hans
.
- Follow-Ups:
- Re: search replace
- From: Joe Smith
- Re: search replace
- Prev by Date: Newbie Question
- Next by Date: Re: Newbie Question
- Previous by thread: Newbie Question
- Next by thread: Re: search replace
- Index(es):