Re: [UNIX] search/replace command

From: Angus Mezick (amezick@edgil.com)
Date: 05/14/99


perl -pi.bak -e 's/GET_FUN/GET_OBJ_FUN/g' *.[ch]
--Angus




Roger Smith <sexycoder@HOTMAIL.COM> on 05/14/99 01:40:49 AM



I looking for a way to search through my source code and replace every
instance of "GET_FUN" with "GET_OBJ_FUN".  I suppose grep might have
something to do with it.  Thanks in advance ;)

-Roger
<bobbit>


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



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