cal for generators
Display a calendar.
Signature
> cal {flags}
Flags
--year, -y: Display the year column--quarter, -q: Display the quarter column--month, -m: Display the month column-
--full-year, - {int}: Display a year-long calendar for the specified year -
--week-start, - {string}: Display the calendar with the specified day as the first day of the week -
--month-names, -: Display the month names instead of integers
Input/output types:
| input | output |
|---|---|
| nothing | table |
Examples
This month's calendar
> cal
The calendar for all of 2012
> cal --full-year 2012
This month's calendar with the week starting on monday
> cal --week-start monday