[thelist] Search & Replacer

Dave Denis dave at davedenis.com
Sat Jan 11 13:35:01 CST 2003


The problem with this though is that there is no undo.  Depending on how
familiar the user is with crafting a regex this might be an important thing.

Dave

Hassan Schroeder wrote:
> 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   ===
>
>                           dream.  code.
>
>
>




More information about the thelist mailing list