Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.31 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.31 KB

calsh

A bash script to have a limited interactive version of the cal command to view the calendar.

Usage

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

Navigation

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.

Examples

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.