Aurelien LAJOIE
27fafcf8a8
cal: Add column mode
...
Add`-v` `--vertical` option to get a vertical output
Add it into relative bash-completion
For example `cal -yv`
2020
January February March
Su 5 12 19 26 2 9 16 23 1 8 15 22 29
Mo 6 13 20 27 3 10 17 24 2 9 16 23 30
Tu 7 14 21 28 4 11 18 25 3 10 17 24 31
We 1 8 15 22 29 5 12 19 26 4 11 18 25
Th 2 9 16 23 30 6 13 20 27 5 12 19 26
Fr 3 10 17 24 31 7 14 21 28 6 13 20 27
Sa 4 11 18 25 1 8 15 22 29 7 14 21 28
April May June
Su 5 12 19 26 3 10 17 24 31 7 14 21 28
Mo 6 13 20 27 4 11 18 25 1 8 15 22 29
Tu 7 14 21 28 5 12 19 26 2 9 16 23 30
We 1 8 15 22 29 6 13 20 27 3 10 17 24
Th 2 9 16 23 30 7 14 21 28 4 11 18 25
Fr 3 10 17 24 1 8 15 22 29 5 12 19 26
Sa 4 11 18 25 2 9 16 23 30 6 13 20 27
July August September
Su 5 12 19 26 2 9 16 23 30 6 13 20 27
Mo 6 13 20 27 3 10 17 24 31 7 14 21 28
Tu 7 14 21 28 4 11 18 25 1 8 15 22 29
We 1 8 15 22 29 5 12 19 26 2 9 16 23 30
Th 2 9 16 23 30 6 13 20 27 3 10 17 24
Fr 3 10 17 24 31 7 14 21 28 4 11 18 25
Sa 4 11 18 25 1 8 15 22 29 5 12 19 26
October November December
Su 4 11 18 25 1 8 15 22 29 6 13 20 27
Mo 5 12 19 26 2 9 16 23 30 7 14 21 28
Tu 6 13 20 27 3 10 17 24 1 8 15 22 29
We 7 14 21 28 4 11 18 25 2 9 16 23 30
Th 1 8 15 22 29 5 12 19 26 3 10 17 24 31
Fr 2 9 16 23 30 6 13 20 27 4 11 18 25
Sa 3 10 17 24 31 7 14 21 28 5 12 19 26
2020-05-11 17:27:06 +02:00
Karel Zak
3ccd9664aa
bash-completion: add cal --span
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-11-05 11:34:25 +01:00
Sami Kerola
fe63e9032d
bash-completion: cal: add --twelve and --color options
...
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2015-07-15 15:51:04 +02:00
Tommi Kyntola
c36c4a4e4d
cal: added -w|--week for showing week numbers
...
Added week numbers both in ISO-6801 and North America numbering.
The mode is determined by first day of the week, Monday
for ISO and Sunday for North America mode.
ISO week numbers are defined as the first Thursday being part of week 1.
The North America numbering is defined, at least by gcal, as first Sunday
being in the first week.
Signed-off-by: Tommi Kyntola <kynde@iki.fi>
2013-10-22 10:27:03 +02:00
Ville Skyttä
0d5b9b8ab1
bash-completion: Don't offer short options where corresponding long one exists.
...
Users who know the short options can just hit the short option instead
of tab, and it's not likely that it would be helpful to present a list
of single character options to users who don't know them, doing so
just unnecessarily trashes the list of suggestions.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-08 17:06:56 +02:00
Ville Skyttä
d4f9b8d74c
bash-completion: Don't offer any more completions after help or version.
...
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-08 17:06:52 +02:00
Karel Zak
20da58084a
bash-completion: rename shell-completion -> bash-completion
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-05 14:58:07 +02:00