A bash script to have a limited interactive version of the cal
command to view the calendar.
calsh [[month] year]
where
month: a valid month name or number in a format that `date` command accepts. Like June, Jun, 06, 6, etc.
year: a valid year in the range 1..9999
The default key configuration is:
Key | Effect |
---|---|
l | Next month |
h | Previous month |
j | Next year |
k | Previous year |
J | Next decade |
K | Previous decade |
Ctrl-f | Next century |
Ctrl-b | Previous century |
This can be changed by changing the variables in the beginning of the script.
Press Esc or q to quit.
calsh
Starts calsh
with the current month and year.
calsh 2020
Starts calsh
with the current month of the year 2020.
calsh Jun 2010
Starts calsh
with the month June of the year 2010.