The expressions swear like a trooper and swear like a sailor are so common as to be cliché. But why do we swear ‘like a trooper’ or ‘like a sailor’? And what else do we swear like, idiomatically, in English and other languages?
Troopers and sailors
Swearing has long been identified with the military, source of so much slang, ribald chants, tribal insults, and other forms of strong language. Profanity would come into its own in war, aiding both bonding and catharsis: ‘an easement to the much besieged spirit’, as Ashley Montagu put it.
So routine was swearing in WWI that to omit it carried real force. In his 1930 book Songs and Slang of the British Soldier: 1914–1918, John Brophy writes, ‘If a sergeant said, “Get your ––––ing rifles!” it was understood as a matter of routine. But if he said “Get your rifles!” there was an immediate implication of urgency and danger.’
We can assume that fucking is the censored word. The spread of fuck through war is described in Ruth Wajnryb’s Expletive Deleted (2005):