"Facts, Shmacks", etc. Where did that phrase come from?

You know the pattern. Person A says, “Blah.” Person B retorts, “Blah, Shmah,” as if this refutes the argument. We all know person B is really saying, “That argument of yours is meaningless.”

But why? Where did that come from?

It’s Yiddish.

ETA: Or more accurately, it’s a rhetorical device of Yiddish origin that’s used in English.

Ah. Excellent. Thanks.

Thanks for providing the link, Hypnagogic Jerk.

Wiki calls it Shm-reduplication, one of my favorite Wikipedia article titles.

I remember wher I first heard it:

“Consequences shmansequences as long as I’m rich.” - Daffy Duck

“Facts are meaningless, you can use facts to prove anything that’s even remotely true! Facts, shmacks.” - Homer Simpson