<?xml version="1.0" encoding="windows-1252"?>
<node id="100566" title="(jeffa) Re: Can you teach a new dog an old trick?" created="2001-07-28 16:39:16" updated="2005-07-21 01:27:51">
<type id="11">
note</type>
<author id="18800">
jeffa</author>
<data>
<field name="doctext">
&lt;code&gt;
perl -i.bak -pe 's/string1/string2/g' *.htm
&lt;/code&gt;
This changes all occurrences of the literal string, 
'string1' with 'string2' in all .htm files and makes
backups at the same time.
&lt;font face="arial,geneva,sans-serif"&gt;
&lt;p&gt;
jeffa
&lt;/font&gt;

&lt;!--
  dear god this is my highest node yet . . .
  (well, fourth now ...)
  have to give thanks to davorg and 
  his wonderful book, and to having to
  work on a Saturday (at the time, i was
  sans Internet connection at home)
--&gt;</field>
<field name="root_node">
100565</field>
<field name="parent_node">
100565</field>
</data>
</node>
