Mercurial > bday
annotate bday.1 @ 19:eb4620a01023
updated the copyright note
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 24 Feb 2014 21:32:38 +0100 |
parents | c1cd1d444353 |
children | c621d710d12e |
rev | line source |
---|---|
1 | 1 .TH bday 1 |
2 .SH NAME | |
18
c1cd1d444353
removed the type event: bday is only for birthdays and anniversaries
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
3 bday \- inform about upcoming birthdays and anniversaries |
10 | 4 |
5 | |
6 | |
1 | 7 .SH SYNOPSIS |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
8 .BR bday\ [ -w |
1 | 9 .IR defwarn ] |
10 | |
10 | 11 |
12 | |
1 | 13 .SH DESCRIPTION |
14 The | |
15 .B bday | |
18
c1cd1d444353
removed the type event: bday is only for birthdays and anniversaries
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
16 command reads standard input which gives a list of birthdays and anniversaries. |
c1cd1d444353
removed the type event: bday is only for birthdays and anniversaries
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
17 It produces a list of events which are coming up within the next few weeks. |
1 | 18 |
10 | 19 |
1 | 20 |
10 | 21 .SH OPTIONS |
1 | 22 |
23 .TP | |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
24 .BI -w\ warn |
1 | 25 Warn |
26 .I warn | |
27 days in advance, for entries that have no | |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
28 .B #w |
18
c1cd1d444353
removed the type event: bday is only for birthdays and anniversaries
markus schnalke <meillo@marmaro.de>
parents:
17
diff
changeset
|
29 flag. |
10 | 30 If this switch is not specified, it defaults to 14 days. |
31 | |
1 | 32 |
33 | |
34 .SH FILE FORMAT | |
35 | |
10 | 36 Each line beginning with a hash sign, |
1 | 37 .RB ` # ', |
3
dc2f94280b01
new Makefile; removed MinWarn and MaxWarn; adjusted manpage
meillo@marmaro.de
parents:
1
diff
changeset
|
38 is a comment and will be ignored. |
1 | 39 |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
40 Any other line specifies a date, optional modifiers, and the |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
41 name of a person or event. |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
42 The date has to be in ISO 8601 date format (YYYY-MM-DD). |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
43 The optional modifiers are words, starting with a hash symbol (#). |
1 | 44 .TP |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
45 Without a modifier, the entry is a birthday. |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
46 The year, if given, should be when the person was born. |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
47 A line designated as a birthday will produce output like |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
48 .B In 3 days: Erin has a birthday. |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
49 .PP |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
50 The modifiers are: |
1 | 51 .TP |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
52 .B #ann |
1 | 53 This line is an anniversary. The year, if given, should be the year in which the thing happened, producing output like |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
54 .B Tomorrow: Pen exploded 3 years ago |
1 | 55 given a line such as |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
56 .BR "1993-09-12 #ann Pen exploded" . |
1 | 57 .TP |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
58 .BI #w n |
1 | 59 Warn |
60 .I n | |
10 | 61 days in advance of the date, rather than the default of 14 days or the number given with the |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
62 .B -w |
1 | 63 flag. |
64 | |
65 | |
66 | |
67 .SH EXAMPLE | |
68 | |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
69 1974-04-25 Joe Blow |
1 | 70 |
71 | |
72 | |
73 .SH SEE ALSO | |
74 | |
10 | 75 .BR birthday (1),\ cal (1) |
76 | |
77 | |
1 | 78 |
79 .SH BUGS | |
80 The program cannot warn more than one year in advance of anything. | |
81 | |
10 | 82 |
83 | |
1 | 84 .SH CREDITS |
85 | |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
86 This Program is heavily based on birthday. But without all non |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
87 essential stuff. Nevertheless, much thanks for birthday, Andy! |
1 | 88 |
10 | 89 |
90 | |
1 | 91 .SH AUTHOR |
17
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
92 markus schnalke <meillo@marmaro.de> |
d18a3b2b76bd
updated man page; s/-W/-w/
markus schnalke <meillo@marmaro.de>
parents:
10
diff
changeset
|
93 and Andy Mortimer <andy.mortimer@zetnet.co.uk> |