Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Daily History Lesson' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Daily History Lesson
Authored by: FACEMILK on Jul 16, '04 12:10:55AM

My favorite noodle for GeekTool shows daily historic events:

grep -h "^$(date '+%m/%d')" /usr/share/calendar/calendar.{holiday,history,computer}|cut -f2



[ Reply to This | # ]
Daily History Lesson
Authored by: wallybear on Sep 28, '04 11:44:56AM

I cannot get to work that line, I get the following message:

tcsh: Illegal variable name.


BTW, I had success with this version of your script:

grep -h "^`date '+%m/%d'`" /usr/share/calendar/calendar.{holiday,history,computer} | cut -f2



[ Reply to This | # ]