<div dir="auto">So is this month's topic going to be "My Calendaring Solution Is Best And If You Disagree You're A Stupid Doo Doo Head"?</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 8, 2018, 5:27 PM Rick Moen <<a href="mailto:rick@linuxmafia.com">rick@linuxmafia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quoting William Tracy (<a href="mailto:afishionado@gmail.com" target="_blank" rel="noreferrer">afishionado@gmail.com</a>):<br>
<br>
> Richard Stallman would like a word with you.<br>
<br>
Before Zack chats with RMS, I want to hear how he uses Calendar.app in a<br>
cron job. ;-><br>
<br>
But 'cal' is best used as a convenience for small problems like 'Wait,<br>
is the second Tuesday this week or next week?' Thus its relevance.<br>
<br>
By contrast, when I needed to write a small 'daysutil' tool for event<br>
planning, I started out trying to leverage cal, but got lazy and<br>
switched to awk, leveraging the POSIX awk mktime function.<br>
<a href="https://www.gnu.org/software/gawk/manual/html_node/Time-Functions.html" rel="noreferrer noreferrer" target="_blank">https://www.gnu.org/software/gawk/manual/html_node/Time-Functions.html</a><br>
(Calendar arithmetic is nasty and easy to get wrong.)<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@nblug.org" target="_blank" rel="noreferrer">talk@nblug.org</a><br>
<a href="http://nblug.org/cgi-bin/mailman/listinfo/talk" rel="noreferrer noreferrer" target="_blank">http://nblug.org/cgi-bin/mailman/listinfo/talk</a><br>
</blockquote></div>