Liked calc? Check out cal
In my ongoing effort to convince OS X users that the command line is not to be feared but to be loved allow me to remind you of (or perhaps introduce you to) another incredibly useful little command line utility:
cal
.
'cal' is short for 'calendar' and as you've probably guessed it displays a calendar:
[bob-adamantium:~] bob% cal October 2004 S M Tu W Th F S 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 31Which is nifty but not spectacular. But: ever want to know what day of the week your birthday was on in the year 1?
[bob-adamantium:~] bob% cal 1The year 3003?
[bob-adamantium:~] bob% cal 3003December of 8432?
[bob-adamantium:~] bob% cal 12 8432Nice, no?
6 Comments:
I use this and GeekTool to add a calendar to the corner of my screen
see imageSam D
By Sam, at 2:56 PM
also try 'cal -3' to get three months of output.
By Anonymous, at 6:45 PM
Try "cal 9 1752" and see if you know why it does what it does.
By Anonymous, at 7:49 PM
Sam: that's a good idea. I'm already using GeekTool to write /var/log/httpd/error_log to the desktop so... hmm...
By Chris, at 8:04 AM
There is a great thread with some good ideas at Even more fun with cal and geektool and GeekTool-Useful and fun info on the desktop
By Sam, at 12:15 PM
Here's, I think, is the correct explanation. At least, it's backed up by the book Calendrical Calculations.
Here's a funnier explanation, though.
By Steve Jenson, at 12:27 PM
Post a Comment
<< Home