global search and replace

Greg Rundlett greg.rundlett at buzgate.org
Tue May 13 12:24:32 EDT 2003


On Tue, 2003-05-13 at 11:48, Erik Price wrote:
> >   You would need to open all <large-number-of-files> into your editor.
> > 
> >   Is that desirable?
> 
> I thought that many text editors let you perform a search/replace on all 
> files in a specified directory?  jEdit offers PCRE regexes to do this, 
> as well as all subdirectories, and doesn't open up the files into a 
> buffer in order to do so (so yes, you should be able to perform a search 
> on a few hundred files at a time without running out of memory).
> 
Exactly what I was talking about.  I don't want to _open_ a huge number
of files, I just want to edit them (hehe).

You can do this in editors like HomeSite, and apparently in jEdit too. 
Thanks to Jason Stephenson, I now know of KFileReplace.  It is a KDE
graphical utility for doing exactly what I want.  Jason has offered to
integrate KFileReplace into QuantaPlus if time allows him to.  It is on
the todo list for the project.

What a testament to the OpenSource model.  I broadcast my needs
and immediately a developer steps up to add a new feature to the
'product' that I need.  No software vendor could boast of such
responsiveness.



More information about the gnhlug-discuss mailing list