From the Blue Book of Grammar and Punctuation
Adverbs are words that modify everything but nouns and pronouns.
I'm okay with this structure because I use but quite often in this way...
I can bear anything but hunger (The hunger is the only thing I cannot bear, rest all is okay with me!).
But I remember that a native speaker did not understand this at first and when I explained, she asked me to put a comma before but. Having this said,
I can bear anything, but hunger - makes sense and is understandable.
If that's the case, the first example from the book is my way and not the way she advised.
Your input please.