summaryrefslogtreecommitdiffstats
path: root/usr.bin/cal/cal.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* unsigned char casts are needed for these isdigit & isprint callsderaadt2013-11-201-3/+3
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-12/+1
* Fix iso weekno calculation by using a different algorithm. Still hardotto2009-01-011-25/+38
* Allow cal to show week numbers. Switch between sunday based week numberingpyr2008-04-181-16/+93
* Introduce the -m flag which shows weeks as starting on mondays.pyr2008-04-101-16/+53
* Optimise a couple of printf()s; originally from Han Boetes.tom2006-10-291-5/+4
* atoi/strtonum from han boetestedu2006-04-251-3/+5
* KNF, no binary change.ray2006-03-241-5/+5
* oops - forgot to remind tom to update usage();jmc2005-12-081-3/+3
* Tidy up month parsing: don't accept "mayor" for "may", or "4x" for "4".tom2005-12-071-9/+8
* cal now (well, has done for a while) accepts a single argumentjmc2005-09-251-3/+3
* range check months 1-12; ok tedu millert othersderaadt2005-08-241-10/+12
* spacingderaadt2005-07-061-5/+5
* warning clean and constinesstedu2005-07-061-16/+14
* drop in parsemonth from freebsd.tedu2005-07-061-6/+33
* do not trust snprintf return value; ok otto mickeyderaadt2005-04-131-3/+4
* mostly ansi cleanup; pval okderaadt2003-06-101-28/+13
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
* more snprintfderaadt2002-05-291-5/+6
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-12/+12
* nothing important...deraadt1998-04-251-3/+3
* Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesderaadt1998-03-301-5/+7
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-3/+3
* use 2-char day names; from wosch@cs.tu-berlin.dederaadt1996-08-111-4/+4
* rcsidderaadt1996-06-261-1/+2
* initial import of NetBSD treederaadt1995-10-181-0/+433