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

Re: bash script question



Rudy Gevaert said:
> Hallo,
>
> I have a directory with files, and in every file I want to replace:
> templates/images
> with
> http://users.pandora.be/webworm/images

check out the program replace, comes with the package mysql-server

or check this out:

http://www.cskk.ezoshosting.com/cs/scripts/bsed

sample:
bsed 's/this/that/g' *.txt

(this information pulled from a recent thread on the redhat-list
mailing list ..I have not tried either solution myself.)

nate





Reply to: