Do you tend to forget Birthdays or other important dates? Well, sometimes
I do. So I wrote a simple tool, which can be run in your startup-sequence (or
your .profile on unix machines, perhaps in the autoexec.bat on a PC?)
You only have to create a text file, which contains the (Birth)dates and an
accompanying name.
usage:
BirthdayWarner <infile>
where <infile> contains names and birthdays on single lines in the following
format:
name: string with max 80 chars (only 20 will be used in output), may
not contain spaces (perhaps I'll work on this someday).
birthday: dd.mm.yyyy (i.e. tomorrow would be 09.08.1996)
You HAVE to adhere to this format, if you dont you will AT LEAST get wrong
results.
See also the included infile as an example.
Hm, while looking for a place where to upload this, I just found there is
allready somthing similar. Well, this one is CLI only, intended only for
Birthdays ;-) and its written by me :-)
As I include the sourcecode, you can also use this tool on different platforms,
it compiles beautifully on a PC and a SUN with GCC.
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY, USE AT YOUR OWN RISK!
Please, write me a mail, if you should find bugs or have comments.
|