summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorAndrés Vieira <anvieiravazquez@gmail.com>2019-12-04 14:51:54 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-24 11:48:16 +0100
commit488d755ccd04e2560d821fa6d5c40461bc094fa7 (patch)
tree807a2459d26dc147fd2846c7140ee7864a827655 /Base
parent5f9c408a084d93261568f3a68572fd22a03fc938 (diff)
downloadserenity-488d755ccd04e2560d821fa6d5c40461bc094fa7.zip
Docs: Add cal(1) man page
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man1/cal.md77
1 files changed, 77 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/cal.md b/Base/usr/share/man/man1/cal.md
new file mode 100644
index 0000000000..c591f12ffa
--- /dev/null
+++ b/Base/usr/share/man/man1/cal.md
@@ -0,0 +1,77 @@
+## Name
+
+cal - Display a calendar
+
+## Synopsis
+
+```**sh
+$ cal [[[day] month] year]
+```
+
+## Description
+
+This program displays a simple calendar. If no arguments are specified, the current month is displayed with the current day highlighted.
+
+Days, months and years are specified with numbers. Week starts at Sunday.
+
+## Examples
+
+```sh
+# Display the current month
+$ cal
+ 12 - 1992
+Su Mo Tu We Th Fr Sa
+ 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
+
+# Display any month
+$ cal 03 2019
+ 03 - 2019
+Su Mo Tu We Th Fr Sa
+ 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
+
+# Display an entire year
+$ cal 2000
+ Year 2000
+
+ 01 - 2000 02 - 2000 03 - 2000
+Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
+ 1 1 2 3 4 5 1 2 3 4
+ 2 3 4 5 6 7 8 6 7 8 9 10 11 12 5 6 7 8 9 10 11
+ 9 10 11 12 13 14 15 13 14 15 16 17 18 19 12 13 14 15 16 17 18
+16 17 18 19 20 21 22 20 21 22 23 24 25 26 19 20 21 22 23 24 25
+23 24 25 26 27 28 29 27 28 29 26 27 28 29 30 31
+30 31
+ 04 - 2000 05 - 2000 06 - 2000
+Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
+ 1 1 2 3 4 5 6 1 2 3
+ 2 3 4 5 6 7 8 7 8 9 10 11 12 13 4 5 6 7 8 9 10
+ 9 10 11 12 13 14 15 14 15 16 17 18 19 20 11 12 13 14 15 16 17
+16 17 18 19 20 21 22 21 22 23 24 25 26 27 18 19 20 21 22 23 24
+23 24 25 26 27 28 29 28 29 30 31 25 26 27 28 29 30
+30
+ 07 - 2000 08 - 2000 09 - 2000
+Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
+ 1 1 2 3 4 5 1 2
+ 2 3 4 5 6 7 8 6 7 8 9 10 11 12 3 4 5 6 7 8 9
+ 9 10 11 12 13 14 15 13 14 15 16 17 18 19 10 11 12 13 14 15 16
+16 17 18 19 20 21 22 20 21 22 23 24 25 26 17 18 19 20 21 22 23
+23 24 25 26 27 28 29 27 28 29 30 31 24 25 26 27 28 29 30
+30 31
+ 10 - 2000 11 - 2000 12 - 2000
+Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
+ 1 2 3 4 5 6 7 1 2 3 4 1 2
+ 8 9 10 11 12 13 14 5 6 7 8 9 10 11 3 4 5 6 7 8 9
+15 16 17 18 19 20 21 12 13 14 15 16 17 18 10 11 12 13 14 15 16
+22 23 24 25 26 27 28 19 20 21 22 23 24 25 17 18 19 20 21 22 23
+29 30 31 26 27 28 29 30 24 25 26 27 28 29 30
+ 31
+```