[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Linux lesson, please
Hi,
you can do this with a perl script maiking a backup of each modified file :
perl -pi.bak -e 's/a_domain_name/__SERVER_NAME__/g' /catalog/*
or something like that.
David
----- Original Message -----
From: "Greg Goble" <ggoble@rpo.at>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, April 04, 2002 3:44 PM
Subject: [ic] Linux lesson, please
> Can anyone give me a quick Linux lesson?
>
> I want to find all files in /catalog
> with "a_domain_name" hard coded. (I know
> bad mistake)...
>
> and replace them with "__SERVER_NAME__"
>
> Thanks, Greg
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users