Skip to content
/ calsh Public

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

Notifications You must be signed in to change notification settings

ju-sh/calsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages