[thelist] Search & Replacer

Hassan Schroeder hassan at webtuitive.com
Fri Jan 10 20:52:00 CST 2003


Kevin W wrote:
> My personal site is a bunch of HTML files and it's getting a bit big.  Does
> anyone have suggestions for a program or Perl script to search/replace
> through the files?  Preferably with regex and either a file-picker GUI or
> support for DOS (or similar) wildcards.

Combine `find` (the *nix, not DOS version) with Perl's edit-in-place
flag and you're there. No GUI, of course, but that's a feature, not
a bug :-)

--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.






More information about the thelist mailing list