Tim Rentsch said:
I'm sure that by now such books have appeared from so many
different publishers that all relevant ones are represented.
I don't want to spend too much time on this profoundly trivial point,
but ... well, actually, apparently I do want to spend too much time
on it.
It's not inherently implausible that Prentice Hall, back in 1978,
asked Kernighan and Ritchie to use a particular brace style in
their book to save paper (and presumably that K&R2 used the same
style for consistency, or because it wasn't worth the effort to
change it). This could have been the whim of an individual editor,
which wouldn't apply to other publishers, or even to other books
by the same publisher.
What's even more plausible, though, is that K&R (both editions) use
the brace style they do because it's the same one used by earlier C
reference manuals going back to 1974, and Ken Thompson's B manual
of 1972. (BCPL didn't use curly braces.) That brace style may
well have been motivated by saving paper, but presumably Prentice
Hall was not involved.
References:
http://cm.bell-labs.com/cm/cs/who/dmr/kbman.pdf (B)
http://cm.bell-labs.com/cm/cs/who/dmr/cman74.pdf (early C)
http://cm.bell-labs.com/cm/cs/who/dmr/cman.pdf (slightly later C,
still pre-K&R1)