mass_find_replace
index
/home/ut3hax/bin/mass_find_replace

 
Modules
       
os

 
Functions
       
doit(fname)
main(start, cf=['.nsh', '.nsi'])
replacekeys(content, i, haystack=[('http://PortableApps.com/', 'http://www.LaunchToGo.com/'), (';Website: http://PortableApps.com/bin', ';Website: http://www.LaunchToGo.com/bin'), ('!define WEBSITE "PortableApps.com/bin"', '!define WEBSITE "LaunchToGo.com/bin"'), ('PortableApps.com', 'LaunchToGo.com'), ('John T. Haller', 'LaunchToGo.com'), ('Rare Ideas, LLC.', 'LaunchToGo LLC.')])

 
Data
        cf = ['.nsh', '.nsi']
haystack = [('http://PortableApps.com/', 'http://www.LaunchToGo.com/'), (';Website: http://PortableApps.com/bin', ';Website: http://www.LaunchToGo.com/bin'), ('!define WEBSITE "PortableApps.com/bin"', '!define WEBSITE "LaunchToGo.com/bin"'), ('PortableApps.com', 'LaunchToGo.com'), ('John T. Haller', 'LaunchToGo.com'), ('Rare Ideas, LLC.', 'LaunchToGo LLC.')]