Learning Korean idioms with UNIX fortune
fortune is a classic UNIX program that displays random fortunes, pithy quotes, and the like:
$ fortune If you think last Tuesday was a drag, wait till you see what happens tomorrow!
Today, I repurposed fortune (really fortune-mod) as a language study tool by scraping some Korean idioms from Wikiquote from Wikiquote):
$ fortune korean “쇠귀에 경 읽기.” 아무리 좋은 말을 하면서 가르치려고 하여도 그 뜻을 제대로 헤아리지 못하는 사람을 두고 하는 말.
This one says “Chanting sutras into the ears of a cow,“ defined as “A phrase used when someone fails to understand what you are trying to teach them no matter how well you choose your words.”
fortune korean (with some gentle text styling) as my fish greeting, so I can learn a new idiom every time I open a terminal:
You can find my database and
fish_greeter.fish script on Github.