Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Can week start day be changed in cal output? Is it hardcoded? Notice: not the ncal.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
We have different versions. Line from FreeBSD manual: -m month Display the specified month. –  int_ua Oct 8 '12 at 1:28
1  
Works fine here... util-linux 2.22-6 You might have specified BSD –  jasonwryan Oct 8 '12 at 1:29
    
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_ua Oct 8 '12 at 1:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.