Some Chinese related things. (Yes, things...)
Pick a chengyu with "日" as one of the characters, and highlight it with quotes.
sed -n 's/日/"日"/p' chengyu.txt | sort --random-sort | head -n 1
sort --random-sort doesn't work on machines without
##breakhorizontalradical.py This program will break the input Chinese characters into radicals if the corresponding ideographic description character is ⿰ or ⿲.
The library requires cjklib, and of course, python 2.7 or above. The code is ugly, because it's not Haskell.