Using Unix tools to plan your day
=================================

It's probably just a sign that I'm getting old, but I find myself
increasingly seeking simplicity. My ideal life is one in which turning
on the computer to work would greet me with just the empty black
screen of a Unix console, pretty much how we saw "hacker" characters
in films of the 90s.

	$ cal
		October 2026      
	Su Mo Tu We Th Fr Sa  
				 1  2  3  
	 4  5  6  7  8  9 10  
	11 12 13 14 15 16 17  
	18 19 20 21 22 23 24  
	25 26 27 28 29 30 31  

The command cal -A1 -B1 will show a three-month calendar (one month
before, one after).

For printing actual events there is the command calendar, which
requires the path $HOME/.calendar/calendar:

	$ cat $HOME/.calendar/calendar
	LANG=au
	Easter=au

	May/Sun+2       Mother's Day
	Sep/SundayFirst Father's Day
	Easter-2        Good Friday
	Easter          Easter Sunday

	20 Aug          your birthday
	...
	Jun             donate to scanlines.xyz (11 AUD)


One small problem is that your OS may not keep your country's calendar
data up to date (as of course Apple does not for Australia), so you'll
need to copy it:

	$ cp /usr/share/calendar/calendar.australia $HOME/.calendar/

Update the date data, then include it in your calendar file:

	#ifndef _calendar_australia_
	#include "calendar.australia"
	#endif