interactive multi-file search and replace

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan Krauss

    #1

    interactive multi-file search and replace

    I need to do some searching and replacing in about 10 latex files.
    Does anyone have an existing script that does this on an interactive
    basis? I would like to show each match and ask whether or not it
    should be replaced.

    This seems like a fairly common task and I don't want to re-invent the wheel.

    Ryan
  • James Stroud

    #2
    Re: interactive multi-file search and replace

    Ryan Krauss wrote:[color=blue]
    > I need to do some searching and replacing in about 10 latex files.
    > Does anyone have an existing script that does this on an interactive
    > basis? I would like to show each match and ask whether or not it
    > should be replaced.
    >
    > This seems like a fairly common task and I don't want to re-invent the
    > wheel.
    >
    > Ryan[/color]

    Most people probably use something like vim rather than re-inventing the
    wheel themselves.

    James

    --
    James Stroud
    UCLA-DOE Institute for Genomics and Proteomics
    Box 951570
    Los Angeles, CA 90095


    Comment

    Working...