It comes in the base of OpenBSD, and I use it in lieu of a calDAV server. Being able to quickly jot down an appointment and recall it on the command line is hecka useful.
If you like Calendar, you might like Fortune. It's usually in the "bsdgames" package (https://www.polyomino.org.uk/computer/software/bsd-games/). You can add it to your bashrc file to see a new fortune each time you open your shell.
~$ fortune
Overload -- core meltdown sequence initiated.
~$ fortune
Politicians are the same all over. They promise to build a bridge even
where there is no river.
-- Nikita Khrushchev
~$ fortune
Distress, n.:
A disease incurred by exposure to the prosperity of a friend.
-- Ambrose Bierce, "The Devil's Dictionary"
~$ fortune
The Preacher, the Politician, the Teacher,
Were each of them once a kiddie.
A child, indeed, is a wonderful creature.
Do I want one? God Forbiddie!
-- Ogden Nash
Or try http://github.com/globalcitizen/taoup for a more unix/software design focused fortune database in an implementation that supports color. Interoperable if you are an efficiency die-hard with a color blindness problem.
I think the coolest part of this was looking at the shell script for /usr/bin/calendar. It's personally gratifying to know that even the UNIX guys wrote scripts that shellcheck.net would crap all over:
The most appropriate sections seem to be Events and Holidays and Observances. There are also links to parallel daily databases by the BBC and New York Times.
Why anyone would bother using UNIX or its inferior clones (eg. Windows NT) in 2018 is beyond me.
The year of the Linux desktop already has been and gone, back in 2001.
We are spoiled for choice with a variety of free, modern, microkernel based desktop OS's written in safe languages, such as Rust, Golang, Haskell and Java. Why people persist with this monolithic, unsafe, ancient artifact of the early days of computing is anyone's guess.
20 comments
[ 2.6 ms ] story [ 25.3 ms ] threadanyone know of a way to search through the history using less or other?
(Edit: Seems like it might just be me :-D)
$ calendar
Sep 13* Rosh Chodesh Tishrei (Beginning of the month of Tishrei)
Sep 13* First Day of Rosh Hashanah (Jewish New Year; 5768; sabbatical)
Sep 13 Barry Day commemorates the death of Commodore John Barry, USA
Sep 13 Chiang Kai-Shek becomes president of China, 1943
Sep 13 Building of Hadrian's Wall begun, 122
Sep 13 British defeat the French at Abraham near Quebec City, 1788
Sep 13 58� C (136.4� F) measured at el Azizia, Libya, 1922
Sep 13 Walter Reed born, 1851
Sep 14 Francis Scott Key writes words to "Star Spangled Banner", 1814
Sep 14* Rosh Hashanah (sabbatical)
Sep 14 Battle of San Jacinto in Nicaragua
Sep 14 Frodo & Bilbo's birthday
Sep 14 The US Selective Service Act establishes the first peacetime draft, 1940
Sep 14 Salem, Massachusetts, is founded, 1629
Sep 14 Benjamin Franklin is sent to France as an American minister, 1778
Also there are some pretty funny jokes in here.
fortune | cowsay
[1] https://en.wikipedia.org/wiki/Cowsay
https://imgur.com/o4gCthk
The most appropriate sections seem to be Events and Holidays and Observances. There are also links to parallel daily databases by the BBC and New York Times.
The year of the Linux desktop already has been and gone, back in 2001.
We are spoiled for choice with a variety of free, modern, microkernel based desktop OS's written in safe languages, such as Rust, Golang, Haskell and Java. Why people persist with this monolithic, unsafe, ancient artifact of the early days of computing is anyone's guess.