(Reformatted for relevance, readability, and to demonstrate my point....) >>On 3/3/06, Tristan M <[EMAIL PROTECTED]> wrote: [SNIP]
>> i used three little lines(REMOVE_BIT,SET_BIT,IS_SET), put'em in a file and >> ran the file, replacing act with extra_flags, affected_by, etc and it saved >> me hours of tedious manual search/replace so if anyone could help me out >> here id be much obliged. -- Michael Barton <[EMAIL PROTECTED]> wrote: > http://www.the-infinite.org/lists/romlist/2005/09/msg00009.html > > This was Richard's perl one-liner: > perl -pe 's/REMOVE_BIT\(\s*/remove_bit(&/g' -i.BAK *.c > > --Palrich. There, now wasn't that much more understandable?? ~Kender -----BEGIN GEEK CODE BLOCK----- Version 3.12 GCS/IT/L/S/O d-(+) s++: a-(?) C++++$ UBLS++++$ P+++(--)$ L++++$ E--- W+$ N !o K? w(---) !O M- !V PS+ PE(-) Y+ PGP->+ t+ 5 X++ R(+) tv+@ b+(++) !DI+++ D G(-) e>+++ h---() r+++ y+++(++) ------END GEEK CODE BLOCK------ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- ROM mailing list [email protected] Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom

