cal by eban

#!ruby -nlrdate
~/ /
d=Date.parse"#$'-#$`-1"
puts d.strftime("%B %Y").center(20),"Su Mo Tu We Th Fr Sa",("   "*d.wday+(1..((d>>1)-1).day).map{|x|"%2d "%x}*"").unpack("A21"*6)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top