but
UK[bʌt]US[bʌt]
conj
used to introduce a word or phrase that contrasts with what was said before
prep
except; apart from
adv
only; just
Etymology
The word 'but' originates from the Old English 'būtan,' a compound of 'bē' (by) and 'ūtan' (outside). Its core literal sense was "on the outside, without." This spatial meaning of exclusion evolved logically into the contrastive and exceptive functions we use today. From meaning "outside of" a place or group, it came to mean "except for" and then developed its primary modern role as a conjunction introducing a contrasting statement, highlighting what lies outside the expectation set by the first clause.
Analysis
The word 'but' is a simplex word derived from Old English. It functions as a conjunction, preposition, or adverb.
Examples
I wanted to go for a walk, but it started to rain.
There was no one there but me.
He is but a child.