# HG changeset patch # User meillo@marmaro.de # Date 1198024016 -3600 # Node ID 6d25afd9113253fe516c1ca722fd35635d7e03e3 # Parent 4f48b4f86e3dc55563cbfe185aaef8366e197d78 adjusted manpage diff -r 4f48b4f86e3d -r 6d25afd91132 bday.1 --- a/bday.1 Wed Dec 19 01:19:57 2007 +0100 +++ b/bday.1 Wed Dec 19 01:26:56 2007 +0100 @@ -1,35 +1,27 @@ .TH bday 1 .SH NAME bday \- inform about upcoming birthdays and other events + + + .SH SYNOPSIS -.BR bday\ [ -f -.IR file ] -.RB [ -W +.BR bday\ [ -W .IR defwarn ] + + .SH DESCRIPTION The .B bday -command reads a file, by default -.IR ~/.birthdays , -which gives a list of birthdays and events (see section +command reads standard input which gives a list of birthdays and events (see section .B FILE FORMAT for details). It produces a list of events which are coming up within the next few weeks. + + .SH OPTIONS .TP -.BI -f\ file -Read the events from -.I file -rather than -.IR ~/.birthdays. -If -.I file -is a single hyphen, read the events from the standard input (usually -the terminal). - -.TP .BI -W\ warn Warn .I warn @@ -37,12 +29,13 @@ .B w flag (see .BR FILE\ FORMAT ). -If this switch is not specified, it defaults to 21 days. +If this switch is not specified, it defaults to 14 days. + .SH FILE FORMAT -Each line beginning with a hash sign, +Each line beginning with a hash sign, .RB ` # ', is a comment and will be ignored. @@ -73,47 +66,44 @@ .BI w n Warn .I n -days in advance of the date, rather than the default of 21 days or the number given with the +days in advance of the date, rather than the default of 14 days or the number given with the .B -W flag. .TP -.BI for days +.BI for\ days The event lasts for .B days days. .TP -.BI to date +.BI to\ date The event lasts until .IR date , which should be in the same format as for the date of the event. -.SH DATE SPECIFICATION -This version of of the programm is patched to only handle standard ISO 8601 date format now. -The intention to do change this behavior was to eliminate all those problems with different date formats. -IMHO we have standards to use them. Backward compatibility is not that important here, in my eyes. .SH EXAMPLE Joe Blow=1974-04-25 -.SH FILES -.TP -.I ~/.birthdays -Your default birthdays file. .SH SEE ALSO -.BR birthday (1), -cal (1) +.BR birthday (1),\ cal (1) + + .SH BUGS The program cannot warn more than one year in advance of anything. + + .SH CREDITS This Program is heavily based on birthday. But without all non essential stuff. Nevertheless, much thanks for birthday, Andy! + + .SH AUTHOR -Andy Mortimer and markus schnalke +markus schnalke and Andy Mortimer