unifdef with a fix for a fairly stupid bug - it was not ignoring comment markers inside strings (in fact it was completely oblivious of strings). What makes this bug particularly stupid is that the code I started with did recognize strings, though not according to C syntax, and I ripped it out because it was broken. D’oh! The bug report has also prompted me to update the version distributed with FreeBSD, which happened to be missing some additions I made in August 2003. Good thing too, because it’s been a while since my last commit.
New code at http://dotat.at/prog/misc/ and http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/unifdef/