User Tools

Site Tools


administrivia

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
administrivia [2010/10/07 10:47] – Remove FOSS Events. They don't seem to deal with our submissions some of the time. ralphadministrivia [2011/01/13 13:36] – We're swapping Tuesdays and Wednesday. ralph
Line 4: Line 4:
  
 ===== The location that's just had a meeting ===== ===== The location that's just had a meeting =====
 +
  
 ==== Work out the next date of the next meeting at the location that's just been held ==== ==== Work out the next date of the next meeting at the location that's just been held ====
Line 17: Line 18:
 y=$((y + (m > 12))) y=$((y + (m > 12)))
 m=$(((m - 1) % 12 + 1)) m=$(((m - 1) % 12 + 1))
-((m % 2)) && day=Tue || day=Wed+((m % 2)) && day=Wed || day=Tue
 seq 7 | xargs -I @ date -d $y-$m-@ '+%Y-%m-%d %a' | grep $day\$ seq 7 | xargs -I @ date -d $y-$m-@ '+%Y-%m-%d %a' | grep $day\$
 </code> </code>
administrivia.txt · Last modified: 2012/01/11 12:36 by ralph