Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!ptolemy!kronos-fi.arc.nasa.gov From: raymond@kronos-fi.arc.nasa.gov (Eric A. Raymond) Newsgroups: comp.binaries.ibm.pc.d Subject: Replace strings in multiple files Message-ID: <12565@ptolemy-ri.ptolemy.arc.nasa.gov> Date: 10 May 91 17:47:06 GMT Sender: usenet@ptolemy.arc.nasa.gov Organization: NASA Ames Research Center Lines: 21 I'm looking for a utility that will do a global replace of strings over a specified set of files. Right now I have a SED script that I use, but this is sort of slow and brain dead. It would be really nice to have something like tags-query-replace from GNU Emacs. Ideal features would include: - fast - ability to perform multiple replaces at a time (i.e. more than one string) - interactive and non-interactive (i.e., go ahead and replace all) modes - optional word and case sensitivity - able to deal with files > 64K - source code availability (but not strictly needed) -- Eric A. Raymond (raymond@ptolemy.arc.nasa.gov) G7 C7 G7 G#7 G7 G+13 C7 GM7 Am7 Bm7 Bd7 Am7 C7 Do13 G7 C7 G7 D+13: Elmore James