[red ~/test/]$ perl -pe 's/REMOVE_BIT\(/remove_bit(&/g' -i *.c ...I'd make a backup first.
Oh, and real men write their code with echo. Or maybe cat. echo '#include <stdio.h>' >> test.c --Palrich. On 9/6/05, Orlis Soilface <[EMAIL PROTECTED]> wrote: > im planning on putting in runters infinite bits and was wondering if > this was possible. i only really use pico for editting in the shell so > havent had to much experience with something else although i did > search and try some things with no success. basically, im wondering if > this can be done: > > find: > REMOVE_BIT(%1->act,PLR_QUESTING); > and replace with: > remove_bit(&%1->act,PLR_QUESTING); > > ya know what i mean? > -- > ROM mailing list > [email protected] > Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom >

