I think this scene was from a military sf or fantasy book, but I can't place it.
Commander: Well, you've seen what they did to [men's names]. How many of you want a chance to get back at the sons of bitches who did that?
[several volunteers jump forward]
Commander: Okay, you men turn in your weapons and get back inside. Anyone else who feels the way they do can stay behind too. We are not organising a vengeance party, this is about delivering justice.
<walks_to_shelf/>
Lots of stuff by Alistair Reynolds, some Niven. Does that ring a bell for anyone?