3 ms·
try it with 'ncal' and a capital 'M' ncal -M [year]
by theophrastus 10y ago
try it with 'ncal' and a capital 'M'
ncal -M [year]
- jandrese 10y agoFreeBSD (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]
- JdeBP 10y agoThe -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/tree/debian/patches/ncal_fdow.diff http://anonscm.debian.org/cgit/bsdmainutils/bsdmainutils.git... * http://anonscm.debian.org/cgit/bsdmainutils/bsdmainutils.git/tree/debian/patches http://anonscm.debian.org/cgit/bsdmainutils/bsdmainutils.git...