Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
smorrebrod
· 3y ago · 0 comments
Wouldn't `cal -m 1` show the year 0001 ?
Comments
[–]
mmcdermott
3y ago
On macOS, `cal -m 1` prints out January 2023. The man page reads "-m month Display the specified month." Googling for man pages gives other usages for the `-m` switch (like
https://linux.die.net/man/1/cal
) so it probably depends on system.
[–]
I_complete_me
3y ago
Depends. I have zsh running on Linux and Mac. On Linux, smorrebrod wins. And on Mac slowmovingtarget wins.
[–]
slowmovintarget
3y ago
I tried it on Mac... so I guess that's the difference. Thanks.