in reply to Re^5: compare files by words
in thread compare files by words

I've seen people get that "simple ternary" backwards :) and min reads a lot easier. In a one-liner, I'd use the ternary.

You could do bad & good and no total and still have the grep do the counting of one or the other. Still not quite symmetric, though.