Definitly recommend perl (motion seconded) - I picked up a perl book lying around at the spacestation, and made a three line command that found (and replaced) all I wanted....It took about 24 hours to wrap my head around the regular expressions, but it was so nice in the end.... L.