I wrote up a little tutorial on using m4 as a CSS pre-processor:
http://blog.00null.net/post/144763147991/use-the-unix-m4-as-...
Wow thanks, that's a much better intro to the ones I cam across like this (http://mbreen.com/m4.html). I may have to reevaluate it.
The only time I had to write m4 was admittedly in the context of autotools, but I found it really difficult to get answers to my questions about how everything worked.