lundi 2 février 2015

calendar (cal) in OS X


I am hoping to run some of the commands listed in this article, e.g.:



cal -3


which is supposed to show me the last month, this month, and next month.


This command does not work in OS X:



$ cal -3
cal: illegal option -- 3
usage: cal [-jy] [[month] year]
cal [-j] [-m month] [year]
ncal [-Jjpwy] [-s country_code] [[month] year]
ncal [-Jeo] [year]


For reference:



$ which cal
/usr/bin/cal


and



$ man cal


reveals that this is probably the default OS X version: "...BSD General Commands Manual..."



Aucun commentaire:

Enregistrer un commentaire