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

Re: [cobalt-developers] find and replace shell script



Hi Matt,

> Can anyone suggest a command that I can use in a shell script that will
> help me do a find and replace action on a couple of thousand XML files?

Try `sed`. Be sure to pipe each parsed file into a new file and then rename the newly created file to the original filename or your files will be lost.

Make backups first... Nico