Ag. D. Hatzimanikas
a.hatzim at gmail.com
Wed Jan 30 12:59:51 PST 2008
On Wed, Jan 30, at 09:51 =?ISO-8859-1?Q?Olaf_Gr=FCttner_ wrote:
> Hi everyone,
> I have a question about working with sed.
> I have an xml file containing
> I want to change this to
> I have problems with the "<" and ">" signs. Is there a was to mask them
> in the sed command?
> sed s/"<theme>1</theme>"/"<theme>2</theme>"/g' test.xml
sed -i 's@<theme>1</theme>@<theme>2</theme>@'
It should work.
More information about the blfs-support