Book: Code Quality: The Open Source Perspective
Diomidis Spinellis, who has previously written a
book on code reading
with lots of examples from NetBSD,
who's also had several
winning IOCCC entries
and who wrote a very good
paper on domain-specific languages
(but that's probably only of my own personal interest :-) is back with
another great publication:
In his latest book
"Code Quality: The Open Source Perspective"
almost all of the 623 examples are drawn from actual code, and NetBSD is
the primary package he used for drawing examples.
For more details you can see
Diomidis' posting to the netbsd-news list
the book's web site.