Re: [CONCERN] BPL13a & GET_SKILL()

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, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/          | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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