From: George (greerga@CIRCLEMUD.ORG)
Date: 06/07/98

On Sun, 7 Jun 1998, Doppleganger Software wrote:

>the new way the macro is defined, I can't compile half the MUD.  I

We could help if we could see the macro.

>Also, is there a UNIX way to to a multi-file find & replace without
>writing a complex script?

for i in *.[ch]; do sed 's/find_this/replace_with/g' $i > x; mv -f x $i; done

That's one simple way, the other is Perl, another is Emacs.

George Greer, | Genius may have its limitations, but          | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST