[ZeD]
> you mean sed :)

> sed 's/oldName/newName/g' oldFile > newFile

I used to be a Perl programmer :-)

  perl -i.bak -pe 's/oldName/newName/g' *

As said, this is risky as oldName can be used in other contexts.

-- 
Tobias Brox, 69°42'N, 18°57'E
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to