HODIE(1) | User Manuals | HODIE(1) |
hodie - Print current date and time... in Latin
hodie [ OPTION ]...
hodie prints out the current date using classic Latin, and in addition also prints it out and time using Roman numerals.
Two occurrences of -v as well as the use of -vv or --extremely-verbose will include the numerals where applicable fully declined, as in 'ante diem quintum Kalends Septembres'.
Following the -d or the --date option flags, the first item must be one of the following:
The story began on the 10. of August, 2000 (a.d. VI Id. Iul., MM). Having finished most of my assignment for my two-month summer job at Ericsson Eurolab Deutschland, Nuremberg, I was idling around on the Internet, and stumbled over the dotcomma-challenges <http://www.dotcomma.org> , where especially the Roman numeral challenge started my mind.
Almost an hour hacking, and there it was, another hour, and the language support was there. Before the night was over, I had written this man page and had the layout of a decent Makefile drawn out mentally.
At the end of the next day, I was so far that I actually had the workings of RPM worked out, constructed a .rpm-package and a .src.rpm-package, which was promptly released on my home-page, announced on freshmeat and uploaded to metalab (apps/misc :-).
Response was quick and plentiful. By now, I have compilation reports from Linux, FreeBSD and SCO Unixware 7; there are a few compatibility issues to put aside, but it works surprisingly well.
hodie returns zero. Always. If it doesn't, then something is really bad with the code.
For some really unreadable code, this means that hodie could be used as a strange replacement for true
It doesn't sanity check the input... telling hodie to display the roman form of the 99th of march gives a slightly jumbled output, which most definitely does not make sense.
Reports are more than welcome (e-mail below).
Now, who would come up with such a thing? Well, I'm Mikael Johansson, a rather all-round geek from Stockholm. I'm gravely interested in languages, in computers and in mathematics; a combination more dangerous than you might think.
E-mails to <mikael@johanssons.org>
AUGUST 2000 | Linux |