about summary refs log tree commit diff
path: root/README
blob: 1bdfeeb9287af8ec5f6814cc05abbcff6bbd21e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
WCAL(1)                     General Commands Manual                    WCAL(1)

NAME
     wcal – ISO weekly calendar

SYNOPSIS
     wcal [-13yci] [-d YYYY[-MM[-DD]]] [-d YYYY-WWW[-D]]

DESCRIPTION
     The wcal utility prints a week-oriented calendar.  Each week is prefixed
     with its ISO week number.

     When outputting to a TTY, the current day, week day, and week are shown
     in reverse video.

     The options are as follows:

     -1      Show the calendar for the current month.  (This is the default.)

     -3      Show the calendar for the previous, current, and next month.

     -y      Show the calendar for the whole year.

     -c      Show the calendar for the current week.

     -i      Show the calendar starting from the current week indefinitely.

     -d YYYY[-MM[-DD]]
             Show the calendar for a different date than today.  Implies -y in
             case only a year is passed.

     -d YYYY-WWW[-D]
             Show the calendar for a different date (ISO week notation) than
             today.  Defaults to Monday if no week day is given.

EXIT STATUS
     The wcal utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     cal(1)

     wcal is inspired by this online tool:
     https://demeyere.design/journal/plain-text-calendar

AUTHORS
     Leah Neukirchen <leah@vuxu.org>

LICENSE
     wcal is in the public domain.

     To the extent possible under law, the creator of this work has waived all
     copyright and related or neighboring rights to this work.

     http://creativecommons.org/publicdomain/zero/1.0/

CAVEATS
     This program uses a proleptic Gregorian Calendar and may yield unexpected
     results before 1752.  The year 0000 starts on a Saturday.

Void Linux                     Feburary 19, 2022                    Void Linux