Hacker News new | ask | show | jobs
by sgt 2064 days ago
cal is supposed to optionally take YYYY as the only parameter. When running greg 2020 I get the usage screen.
1 comments

‘greg’ is not able to display more than one month by itself. If you only provide one argument, it’ll consider it as a month number, e.g. ‘greg 9’ for September (of the current year).

I had made a simple Bash script that displayed the calendar of a given month using ‘greg’ with ‘paste’, ‘columns’, and some other common utilities, but I haven’t uploaded it anywhere yet.