For the curious - I thought somebody might be interested in this: http://www.cowanbox.com/obfuscate.c Which takes a C source file as input and outputs a completely correct C source file, identical except for the fact that all unnecessary whitespace has been stripped from it. It also randomly replaces eligible characters with equivalent trigraph sequences. For this reason, you'll need to make sure that gcc's trigraph support is activated or that it's running in ansi-conformance mode to correctly compile the output. All configuration is compile-time - I wrote this as an excercise for comp.lang.c.moderated; didn't use getopt() since that's not Standard C, and didn't bother to write my own command-line parser because that's not directly related to the task I was solving. Try it out if you like! Micah
