Hacker News new | past | comments | ask | show | jobs | submit login

try it with 'ncal' and a capital 'M'

     ncal -M [year]

FreeBSD (17 ~): ncal -M 2016 ncal: illegal option -- M Usage: cal [general options] [-hjy] [[month] year] cal [general options] [-hj] [-m month] [year] ncal [general options] [-hJjpwy] [-s country_code] [[month] year] ncal [general options] [-hJeo] [year] General options: [-NC3] [-A months] [-B months] For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]

The -M and -S options are extensions that are patched into the Debian ports of the FreeBSD ncal command. They have not been contributed back to the original, and some of the weekday calculations (that involve querying what the current locale's idea of the first day of the week is using the SUS2 nl_langinfo() library function) are tied to GNU libc.

* http://anonscm.debian.org/cgit/bsdmainutils/bsdmainutils.git...

* http://anonscm.debian.org/cgit/bsdmainutils/bsdmainutils.git...

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact