[Gllug] ddate
Nix
nix at esperi.demon.co.uk
Mon Jan 6 23:17:14 UTC 2003
On Mon, 6 Jan 2003, Ian Norton stipulated:
> this is a truly great find :-)
>
> bredroll at earth:$# ddate
> Today is Sweetmorn, the 6th day of Chaos in the YOLD 3169
It's part of util-linux. The manpage has some interesting options in
amongst the usual date-formatting suspects:
%H Name of current Holyday, if any
%X Number of days remaining until X-Day. (Not valid if the SubGe-
nius options are not compiled in.)
%{
%} Used to enclose the part of the string which is to be replaced
with the words "St. Tib's Day" if the current day is St. Tib's
Day.
%. Try it and see.
(%. prints one of a number of bizarre exclamations, including SubGenius ones
if PRAISE_BOB is #defined at compile time.)
The holyday of Mungday just passed (the 4th Jan).
--
`I was thinking of the legendary British Weather, with the four seasons
of winter, mud, rain, and damp.' --- Peter da Silva
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list