#!ruby -nardate d=Date.parse$F*"/" puts d.strftime("%B %Y").center(20),"Su Mo Tu We Th Fr Sa",(" "*d.wday+(d...d>>1).map{|x|"%2d "%x.day}*"").unpack("A21"*6)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page