Not too sure about your last paragraph. When I joined my battalion in mid 1960s this was prevalent. Within a year it had disappeared. Now I was just a young soldier so have no idea what went on in the background but the bed ending, as we knew it, stopped. I am not saying all violence stopped as this was a 1960s infantry battalion where violence was a day to day occurrence, but there is a difference between a square go and bed ending and it was the latter that stopped. There must have been input from senior NCOs, WOs and officers to ensure this practice did not continue.Thinking about that post...
There was a problem with 'bed leggings' in our battalion at one point. For the gentler generation, this was when soldiers lived in communal rooms and disputes were sometimes settled by battering a man as he slept - frequently with a weapon. Bed legging could also be a calculated 'punishment' designed to motivate a problem soldier, or just random drunken violence - and frequently involved more than one assailant.
Physical injuries aside (the worst of which were life changing) getting bed legged must have been a horrible and terrifying experience. Even the toughest and least imaginative soldiers would have been left deeply unsettled by such an experience.
The attitude of officers seemed to be that if a bloke got bed legged, he must have deserved it on some level and it was just the soldiers imposing some barrack room justice. It happened more than once that assailants did their 28 days and then returned to the same platoon. Even when men were sent to MCTC, they'd usually return to the same battalion - and occasionally the same company.
The army has never cared about soldiers who are victims of crime and has traditionally viewed them almost as an embarrassment. Vicious cowards were allowed a fresh start, their victims had to shift for themselves.