Green’s Dictionary of Slang

bashing-in/-out n.

[bash v. (2)]

the flogging administered to prisoners on their arrival in prison and immediately before their release.

[UK]Barrère & Leland Dict. of Sl., Jargon and Cant.