Re: [UNIX] search/replace command

From: Angus Mezick (
Date: 05/14/99

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

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 ;)


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

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