Mercurial > bday
comparison bday.1 @ 18:c1cd1d444353
removed the type event: bday is only for birthdays and anniversaries
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 24 Feb 2014 21:32:18 +0100 |
parents | d18a3b2b76bd |
children | c621d710d12e |
comparison
equal
deleted
inserted
replaced
17:d18a3b2b76bd | 18:c1cd1d444353 |
---|---|
1 .TH bday 1 | 1 .TH bday 1 |
2 .SH NAME | 2 .SH NAME |
3 bday \- inform about upcoming birthdays and other events | 3 bday \- inform about upcoming birthdays and anniversaries |
4 | 4 |
5 | 5 |
6 | 6 |
7 .SH SYNOPSIS | 7 .SH SYNOPSIS |
8 .BR bday\ [ -w | 8 .BR bday\ [ -w |
11 | 11 |
12 | 12 |
13 .SH DESCRIPTION | 13 .SH DESCRIPTION |
14 The | 14 The |
15 .B bday | 15 .B bday |
16 command reads standard input which gives a list of birthdays and events (see section | 16 command reads standard input which gives a list of birthdays and anniversaries. |
17 .B FILE FORMAT | 17 It produces a list of events which are coming up within the next few weeks. |
18 for details). It produces a list of events which are coming up within the next few weeks. | |
19 | 18 |
20 | 19 |
21 | 20 |
22 .SH OPTIONS | 21 .SH OPTIONS |
23 | 22 |
25 .BI -w\ warn | 24 .BI -w\ warn |
26 Warn | 25 Warn |
27 .I warn | 26 .I warn |
28 days in advance, for entries that have no | 27 days in advance, for entries that have no |
29 .B #w | 28 .B #w |
30 flag (see | 29 flag. |
31 .BR FILE\ FORMAT ). | |
32 If this switch is not specified, it defaults to 14 days. | 30 If this switch is not specified, it defaults to 14 days. |
33 | 31 |
34 | 32 |
35 | 33 |
36 .SH FILE FORMAT | 34 .SH FILE FORMAT |
55 This line is an anniversary. The year, if given, should be the year in which the thing happened, producing output like | 53 This line is an anniversary. The year, if given, should be the year in which the thing happened, producing output like |
56 .B Tomorrow: Pen exploded 3 years ago | 54 .B Tomorrow: Pen exploded 3 years ago |
57 given a line such as | 55 given a line such as |
58 .BR "1993-09-12 #ann Pen exploded" . | 56 .BR "1993-09-12 #ann Pen exploded" . |
59 .TP | 57 .TP |
60 .B #ev | |
61 This line is an event of some sort. If a year is given, the text will be displayed in that year only; otherwise, it will | |
62 be displayed every year. The remaining time is simply appended to the text; for instance, the input | |
63 .B 1996-04-07 #ev Easter | |
64 would give rise to the text | |
65 .BR "In 1 week: Easter" . | |
66 .TP | |
67 .BI #w n | 58 .BI #w n |
68 Warn | 59 Warn |
69 .I n | 60 .I n |
70 days in advance of the date, rather than the default of 14 days or the number given with the | 61 days in advance of the date, rather than the default of 14 days or the number given with the |
71 .B -w | 62 .B -w |
72 flag. | 63 flag. |
73 .TP | |
74 .BI #for days | |
75 The event lasts for | |
76 .B days | |
77 days. | |
78 .TP | |
79 .BI #to date | |
80 The event lasts until | |
81 .IR date , | |
82 which should be in the same format as for the date of the event. | |
83 | 64 |
84 | 65 |
85 | 66 |
86 .SH EXAMPLE | 67 .SH EXAMPLE |
87 | 68 |