News for hackers. Stuff that matters.
Re:Show HN: Greg – a simple “cal” clone written in C by sgt on Saturday October 24, 2020 @09:33AM (#24879123)
cal is supposed to optionally take YYYY as the only parameter. When running greg 2020 I get the usage screen.
Re:Show HN: Greg – a simple “cal” clone written in C by zamfofex on Saturday October 24, 2020 @12:15PM (#24880062)
‘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.