Green’s Dictionary of Slang

damn! excl.

also by damn!
[abbr. damnation! excl.]

an all-purpose profanity, used in a wide variety of contexts.

[UK]Fielding Life of Jonathan Wild (1784) II 193: He relaxed a little the terror of his countenance, and pausing a while, repeated the word, d--n!
Holt Co. Sentinel (MO) 13 Apr. 4/1: If any other man, quoth he, / Shall insolently say to me, You be damn!
[UK] in A. Griffiths Chronicles of Newgate 499: D---n seize you all.
[UK]G. du Maurier Trilby 105: The yawning public will walk by in procession and inspect, and say ‘damn!’.
[UK]A. Bennett The Grand Babylon Hotel 111: ‘D – n!’ said Rocco.
[US]J. London ‘All Gold Canyon’ Complete Short Stories (1993) II 1019: Secret pasture for prospectors and a resting-place for tired burros, by damn!
[UK]H.G. Wells The Hist. of Mr Polly (1946) 224: ‘Damn!’ said Mr. Polly.
[UK]‘Sapper’ Bulldog Drummond 96: She distinctly heard an unmistakeable ‘Damn’.
[US]R. Chandler ‘Blackmailers Don’t Shoot’ in Red Wind (1946) 102: Landrey smiled vaguely, said: ‘Damn!’ in a soft voice.
[US]M. Spillane One Lonely Night 86: ‘Damn!’ The word exploded out of me.
[US]C. Cooper Jr Weed (1998) 122: Hell, Ned Land thought. Damn.
[US]E. Tidyman Shaft 53: Damn, but he was hungry.
[UK]Observer Mag. 9 Jan. 13: ‘Damn!’ she said.

In exclamations

damn-but! (also dambut!)

(Irish) an excl. of affirmation.

[UK]P. Gallagher My Story 104: ‘Damn-but, you are right,’ said Johnny Brown.
[US]J. O’Connor Come Day – Go Day (1984) 34: Hello, johnny! Dambut is it yourself?
Fairytale on ‘Newry Folklore’ on A Newry Page 🌐 An’ dambut didn’t he see them go past, and over by the stone with the writtin on it, an’ them picking up wee stones and throwin them ahead as they walked an’ making a terrible lament.
damn Sam! [assonance]

(US black) an excl. of surprise or annoyance.

[US](con. 1950s) D. Wells Night People 92: I remember the maid charging me $3.50 for pressing two suits. ‘Damn Sam!’ I said.