Re:Plain Text Journaling in Vim
by smorrebrod on Monday June 19, 2023 @11:29AM
(#36392200)
Wouldn't `cal -m 1` show the year 0001 ?
Re:Plain Text Journaling in Vim
by I_complete_me on Monday June 19, 2023 @03:03PM
(#36395236)
Depends. I have zsh running on Linux and Mac.
On Linux, smorrebrod wins. And on Mac slowmovingtarget wins.
Re:Plain Text Journaling in Vim
by slowmovintarget on Monday June 19, 2023 @03:33PM
(#36395580)
I tried it on Mac... so I guess that's the difference. Thanks.
Re:Plain Text Journaling in Vim
by mmcdermott on Monday June 19, 2023 @03:58PM
(#36395822)
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.
Also, shouldn't it be
In zsh it complains without the extra argument.