#!ruby -lprdate d=Date.parse($_+'-2').next_month;$_+="-#{(d-d.wday-2).day}"