Can week start day be changed in cal
output?
Is it hardcoded? Notice: not the ncal
.
2 Answers
For util-linux
man cal
:
-m, --monday
Display Monday as the first day of the week.
For FreeBSD According to this recent thread on the FreeBSD boards, you will need the deskutils port.
For Ubuntu
There is a bug report: seems you can either use ncal
or the debian patch.
-
We have different versions. Line from FreeBSD manual:
-m month Display the specified month.
– int_uaOct 8, 2012 at 1:28 -
2
-
Didn't know there are multiple variants. I'm on Ubuntu 12.04, actually, but cal is provided by bsdmainutils 8.2.3. And
dpkg -L util-linux | grep cal
gives nothing.– int_uaOct 8, 2012 at 1:35
When cal -m
does not work, you can try to alias ncal -M -C
as cal
. Works for me, but I am not sure that it will work in every variant of cal
(and ncal
).