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


Click here to return to the 'birthdays on the desktop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
birthdays on the desktop
Authored by: nick on Jan 09, '05 05:27:16PM
i'm shure this could be done MUCH better, but here are my efforts:

cd ~/Library/Calendars ; date "+SUMMARY%Y%m%d:TODAY" > today.tmp ; cat Geburtstage.ics today.tmp | grep "DTSTART\|SUMMARY" | sed s/"^M"// | sed '$!N;s/\n//' | sed s/"DTSTART;VALUE=DATE:"// | sed s/"SUMMARY"// | sed s/", Geburtstag "// | cut -c 5- | sort | grep -A 5 TODAY | grep -v TODAY | sed s/''// | sed s/":"/": "/

shows the next 5 pending birthdays.

[ Reply to This | # ]
note: replace "Geburtstage.ics" with your birthdays-calendar
Authored by: nick on Jan 09, '05 05:28:39PM

.



[ Reply to This | # ]