[lug] simple text editing problem

Michael J. Hammel mhammel at panasas.com
Thu Aug 22 09:33:10 MDT 2002

On Wed, 2002-08-21 at 22:42, Daniel Webb wrote:
> I need to find and replace text from around 10,000 lines of c code in
> around 50 files in several directory trees.  I'm going to have to do this
> quite a few times, so the solution needs to be able to use "find" as the
> input for which files to load, or else remember from one day to the next
> which files I'm interested in.  Also, it has to be interactive, since I
> won't always be able to tell if I need to do the replace without context.

cscope - easily the best thing around for doing this sort of
interactive, mass replacement of text in C source.


Michael J. Hammel
mjhammel at graphics-muse.org

More information about the LUG mailing list