Home | History | Annotate | only in /src/usr.bin/time
History log of /src/usr.bin/time
RevisionDateAuthorComments
 1.9 28-Aug-2011  christos use strpct from libutil.
 1.8 17-Aug-2011  christos document non-literal string format
 1.7 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.6 26-Feb-2007  matt branches: 1.6.20;
.include <bsd.own.mk>
 1.5 24-Feb-2007  matt Add '-c' option for csh-style time output. Use the csh time format code
to print the new csh-style time output.
 1.4 16-Jul-2002  christos modernize:
- use wait4
- KNF
- factor out common printf code
- use err/warn
- use getprogname
 1.3 08-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 08-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.4 23-Apr-2020  simonb Add '-t' option for tcsh-style time output.
 1.3 15-Jul-2017  christos branches: 1.3.2; 1.3.8;
Allow the user to specify the output format on the command line.
 1.2 09-Nov-2011  christos PR/45592: Greg A. Woods: changes to get time(1) to use CLOCK_MONOTONIC
 1.1 24-Feb-2007  matt branches: 1.1.34;
Add '-c' option for csh-style time output. Use the csh time format code
to print the new csh-style time output.
 1.1.34.1 10-Nov-2011  yamt sync with head
 1.3.8.1 25-Apr-2020  martin Pull up following revision(s) (requested by simonb in ticket #853):

bin/csh/time.c: revision 1.22
usr.bin/time/time.c: revision 1.24
bin/csh/extern.h: revision 1.32
usr.bin/time/time.1: revision 1.29
usr.bin/time/ext.h: revision 1.4

Add '-t' option for tcsh-style time output.
 1.3.2.2 15-Jul-2017  christos 3328901
 1.3.2.1 15-Jul-2017  christos file ext.h was added on branch perseant-stdc-iso10646 on 2017-07-15 14:34:09 +0000
 1.30 05-Apr-2021  pgoyette Since there is a -t option, and the option itself is documented, there
doesn't seem to be any reason to exclude ``t'' from the usage summary.
 1.29 23-Apr-2020  simonb Add '-t' option for tcsh-style time output.
 1.28 15-Jul-2017  wiz branches: 1.28.2; 1.28.8;
Simplify.
 1.27 15-Jul-2017  christos Allow the user to specify the output format on the command line.
 1.26 21-Dec-2016  abhinav Add an xref to wait4(2) in SEE ALSO as it has been referred to for the -l option.
 1.25 09-Nov-2011  wiz branches: 1.25.22;
Sort sections, use Aq, add comma in enumeration.
 1.24 09-Nov-2011  christos PR/45592: Greg A. Woods: changes to get time(1) to use CLOCK_MONOTONIC
 1.23 02-Oct-2011  dholland branches: 1.23.2;
Describe the output more accurately, and in the correct order. Noted by
Snader_LB on freenode.
 1.22 02-Oct-2011  dholland Fix ambiguous/confusing wording.
 1.21 16-May-2010  dholland and, erm, bump date too.
 1.20 16-May-2010  dholland Grammar, clarification, and note that the rusage information is total
as opposed to strict subprocess only.
 1.19 24-Jan-2009  skrll Mention -c. Hi Matt.
 1.18 07-Aug-2003  agc branches: 1.18.40;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.17 27-Jun-2003  wiz Remove superfluous "".
 1.16 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.15 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.14 08-Dec-2001  wiz Sort sections.
 1.13 01-Dec-2001  wiz Whitespace cleanup.
 1.12 03-Feb-2001  he Correct double `s' in `ressource'.
 1.11 29-Jan-2001  hubertf Plural: is -> are
Belongs to PR 11975 by Jeremy C. Reed <reed@reedmedia.net>
 1.10 26-Jan-2001  hubertf Patch fixes spelling, grammar, adds ksh, adds rusage information.

Submitted by Jeremy C. Reed <reed@reedmedia.net> in PR 11975.
 1.9 04-Sep-2000  kleink For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
 1.8 05-Jun-1999  kleink branches: 1.8.8;
* Require an `utility' argument to be specified and fail otherwise.
* I18n of decimal point used in time formatting.
* Don't hardcode an assumption of 100 clock ticks per second.
* Various minor cleanups.
 1.7 20-Oct-1997  lukem WARNSify, deprecate register, getopt returns -1, fix .Nm usage
 1.6 18-Dec-1996  pk Remnant of a different area: resource.h is now in /usr/include/sys
(from David Brownlee; PR#3044).
 1.5 08-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4 11-Jan-1994  jtc Fix spelling errors.
 1.3 27-Aug-1993  jtc Changed to be POSIX.2 compliant.
Don't crash with -l option if program executed in less than one tick.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 08-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.8.1 03-Feb-2001  he Pull up revisions 1.9-1.12 (requested by hubertf):
Note that ``time'' is also a builtin in ksh, and document rusage
information. Fixes PR#11975. Also use "EXIT STATUS" instead of
"DIAGNOSTICS".
 1.18.40.1 26-Mar-2009  snj Pull up following revision(s) (requested by skrll in ticket #613):
usr.bin/time/time.1: revision 1.19
Mention -c. Hi Matt.
 1.23.2.1 10-Nov-2011  yamt sync with head
 1.25.22.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.28.8.1 25-Apr-2020  martin Pull up following revision(s) (requested by simonb in ticket #853):

bin/csh/time.c: revision 1.22
usr.bin/time/time.c: revision 1.24
bin/csh/extern.h: revision 1.32
usr.bin/time/time.1: revision 1.29
usr.bin/time/ext.h: revision 1.4

Add '-t' option for tcsh-style time output.
 1.28.2.2 15-Jul-2017  wiz 262833
 1.28.2.1 15-Jul-2017  wiz file time.1 was added on branch perseant-stdc-iso10646 on 2017-07-15 14:40:37 +0000
 1.24 23-Apr-2020  simonb Add '-t' option for tcsh-style time output.
 1.23 15-Jul-2017  christos branches: 1.23.2; 1.23.8;
Allow the user to specify the output format on the command line.
 1.22 09-Nov-2011  christos PR/45592: Greg A. Woods: changes to get time(1) to use CLOCK_MONOTONIC
 1.21 31-Aug-2011  plunky branches: 1.21.2;
NULL does not need a cast
 1.20 28-Aug-2011  christos use strpct from libutil.
 1.19 21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.18 26-Feb-2007  matt branches: 1.18.12;
Make -p, -l, and -c exclusive (any one turns off the other two).
 1.17 24-Feb-2007  matt Add '-c' option for csh-style time output. Use the csh time format code
to print the new csh-style time output.
 1.16 18-Dec-2006  christos volatile fixes, from Anon Ymous
 1.15 27-Oct-2005  simonb Sprinkle some KNF.
 1.14 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.12 16-Jul-2002  christos modernize:
- use wait4
- KNF
- factor out common printf code
- use err/warn
- use getprogname
 1.11 05-Jun-1999  kleink * Require an `utility' argument to be specified and fail otherwise.
* I18n of decimal point used in time formatting.
* Don't hardcode an assumption of 100 clock ticks per second.
* Various minor cleanups.
 1.10 14-Oct-1998  wsanchez Silence -Wall by casting to (long) in printf formats.
 1.9 20-Oct-1997  lukem WARNSify, deprecate register, getopt returns -1, fix .Nm usage
 1.8 18-Oct-1996  thorpej Exit with an error condition if the timed command does not exit.
From Arne H. Juul <Arne.Juul@idt.ntnu.no>, PR #2838.
 1.7 27-Jun-1995  jtc sys/signal.h -> signal.h
 1.6 21-Mar-1995  mycroft Update to use timer{add,sub}().
 1.5 08-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4 27-Aug-1993  jtc Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
 1.3 27-Aug-1993  jtc Changed to be POSIX.2 compliant.
Don't crash with -l option if program executed in less than one tick.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 08-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.18.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.21.2.1 10-Nov-2011  yamt sync with head
 1.23.8.1 25-Apr-2020  martin Pull up following revision(s) (requested by simonb in ticket #853):

bin/csh/time.c: revision 1.22
usr.bin/time/time.c: revision 1.24
bin/csh/extern.h: revision 1.32
usr.bin/time/time.1: revision 1.29
usr.bin/time/ext.h: revision 1.4

Add '-t' option for tcsh-style time output.
 1.23.2.2 15-Jul-2017  christos 3328901
 1.23.2.1 15-Jul-2017  christos file time.c was added on branch perseant-stdc-iso10646 on 2017-07-15 14:34:09 +0000
 1.1 24-Feb-2007  matt Add '-c' option for csh-style time output. Use the csh time format code
to print the new csh-style time output.

RSS XML Feed