summaryrefslogtreecommitdiffstats
path: root/usr.bin/cal (follow)
Commit message (Collapse)AuthorAgeFilesLines
* note that posix marks this utility xsi;jmc2014-01-251-2/+3
| | | | | millert, guenther, sobrado, and schwarze have all contributed to how to word this...
* cal appeared in v1; found by millertjmc2014-01-251-3/+3
| | | | ok sobrado
* for STANDARDS, not that the ability to specify a month name as a singlejmc2014-01-151-3/+4
| | | | | | argument is also an extension; ok sobrado
* unsigned char casts are needed for these isdigit & isprint callsderaadt2013-11-201-3/+3
| | | | ok benno
* after some thought, i think it unlikely that we will need to specifyjmc2011-09-161-2/+2
| | | | | | | | | | a revision number for ISO 8601; in addition, the revision number makes the text unwieldy when discussing the standard in a casual manner. therefore change the macro from -8601-4 to simply -8601, which will output "ISO 8601". i'll get kristaps or ingo to make the change upstream to mandoc. discussed with/ok millert
* use .St here for ISO 8601 references; ok millertjmc2011-09-161-3/+5
|
* add an EXIT STATUS section for /usr/bin;jmc2010-09-031-3/+3
|
* document exit returns; from daniel dickmanjmc2010-07-221-2/+4
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-12/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* STANDARDS:jmc2009-02-101-3/+3
| | | | | | | | mark these utilities as being either optional (SD/FR/UP); or as being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked purely for consistency; thanks otto for feedback
* bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc2009-02-081-3/+3
| | | | updates to follow;
* Fix iso weekno calculation by using a different algorithm. Still hardotto2009-01-011-25/+38
| | | | | to follow, but this one has a documented origin at least; ok pyr@ jasper@
* tweaks;jmc2008-04-181-4/+4
|
* Allow cal to show week numbers. Switch between sunday based week numberingpyr2008-04-182-20/+116
| | | | | | | | | and ISO 8601 monday based week numbering with overlapping weeks if the -m flag is present. many positive feedback received. ok mbalmer@, jasper@, simon@ input from todd@
* Introduce the -m flag which shows weeks as starting on mondays.pyr2008-04-102-20/+59
| | | | | input from tom@ through markus@ ok henning@, mbalmer@ and jmc@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* - use a consistent text for STANDARDSjmc2007-05-301-4/+8
| | | | - note which options are extensions to POSIX
* Optimise a couple of printf()s; originally from Han Boetes.tom2006-10-291-5/+4
| | | | Reminded by, and ok, otto@.
* atoi/strtonum from han boetestedu2006-04-251-3/+5
|
* KNF, no binary change.ray2006-03-241-5/+5
| | | | From Han Boetes.
* oops - forgot to remind tom to update usage();jmc2005-12-081-3/+3
|
* Tweak synopsistom2005-12-071-5/+3
| | | | ok jmc@
* Tidy up month parsing: don't accept "mayor" for "may", or "4x" for "4".tom2005-12-071-9/+8
| | | | | | | And strptime(3) %b and %B conversions are the same, so don't bother trying both. ok otto@
* Clarify: `month' can always be specified as either full ortom2005-12-061-4/+5
| | | | | | abbreviated month name. ok jmc@ tedu@
* cal now (well, has done for a while) accepts a single argumentjmc2005-09-252-10/+19
| | | | | | | | | | | | of the abbreviated month name: update SYNOPSIS, usage(), and DESCRIPTION to reflect this; remove a sentence that was repeated in the text - replace it with something marginally more useful; be clear that both numerical and string arguments are now accepted; escape some hyphens whilst here;
* 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
| | | | | | use it to parse month, so "cal june 2005" works as expected. if only one arg is given, see if it could be a month ok deraadt
* do not trust snprintf return value; ok otto mickeyderaadt2005-04-131-3/+4
|
* Cm Ar -> Arjmc2003-07-131-2/+2
|
* mostly ansi cleanup; pval okderaadt2003-06-101-28/+13
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-032-13/+5
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* 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
|
* Move some misplaced periods outside of the parentheses.aaron2000-04-171-2/+2
|
* Many improvements and general cleanup/standardization.aaron2000-03-041-3/+6
|
* correct use of .Nm; some other formatting nitsaaron1999-07-041-3/+3
|
* - remove trailing white spaceaaron1999-06-051-2/+2
| | | | | | | - remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
* usr.bin/ man page repairs, a - eaaron1998-09-231-2/+2
|
* nothing important...deraadt1998-04-251-3/+3
|
* Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesderaadt1998-03-301-5/+7
|
* correct documentation on the Gregorian Reformation changederaadt1997-12-121-3/+3
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* Note POSIX 10003.2 conformance.denny1997-08-191-1/+7
|
* cal [-jy] [[month] year]; k-horik@yk.rim.or.jpderaadt1997-06-021-2/+5
|
* 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-263-2/+4
|
* initial import of NetBSD treederaadt1995-10-184-0/+565