Bash Spielerei. Doomsday.sh

Kommentieren Jan 26 2011 .txt, .json, .md

Nette Spielerei auf Bash Art.

Jedes mal wenn man ein neues Terminal auf macht, wird man gefragt welcher Wochentag an dem Datum nun ist. Hat man falsch geantwortet, schließt sich das Terminal wieder ;-)

doomsday-sh | BASH script for testing your ability to calculate day-of-week for a given date

A BASH script for testing your ability to calculate day-of-week for a given date. Download from here: http://doomsday-sh.googlecode.com/hg/doomsday.sh

You may use whatever means you like to work out what day it will be. I like the Doomsday Algorithm:

http://en.wikipedia.org/wiki/Doomsday_algorithm Invented by John Horton Conway. “To improve his speed, he practices his calendrical calculations on his computer, which is programmed to quiz him with random dates every time he logs on.[citation needed]”. This script is intended to do just that.