#!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)