Module Name: src
Committed By: dholland
Date: Sun Oct 2 01:47:27 UTC 2011
Modified Files:
src/usr.bin/time: time.1
Log Message:
Fix ambiguous/confusing wording.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/time/time.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/time/time.1
diff -u src/usr.bin/time/time.1:1.21 src/usr.bin/time/time.1:1.22
--- src/usr.bin/time/time.1:1.21 Sun May 16 07:40:53 2010
+++ src/usr.bin/time/time.1 Sun Oct 2 01:47:27 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: time.1,v 1.21 2010/05/16 07:40:53 dholland Exp $
+.\" $NetBSD: time.1,v 1.22 2011/10/02 01:47:27 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)time.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd May 16, 2010
+.Dd October 1, 2011
.Dt TIME 1
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl clp
-.Ar utility
+.Ar command
.Op Ar argument ...
.Sh DESCRIPTION
The
@@ -46,15 +46,13 @@ The
utility
executes and
times
-.Ar utility .
-After the
-.Ar utility
-finishes,
+.Ar command .
+After the command finishes,
.Nm
writes the total time elapsed,
the time consumed by system overhead,
and the time used to execute
-.Ar utility
+the command
to the standard error stream.
Times are reported in seconds.
.Pp
@@ -68,8 +66,8 @@ builtin of
.It Fl l
Lists resource utilization information.
The contents of the
-.Ar utility
-process'
+.Ar command
+process's
.Em rusage
structure are printed; see below.
.It Fl p
@@ -124,7 +122,7 @@ voluntary context switches
involuntary context switches
.El
Resource usage is the total for the execution of
-.Ar utility
+.Ar command
and any child processes it spawns, as per
.Xr wait4 2 .
.Sh EXIT STATUS
@@ -138,18 +136,18 @@ An error occurred in the
utility.
.It 126
The
-.Ar utility
+.Ar command
was found but could not be invoked.
.It 127
The
-.Ar utility
+.Ar command
could not be found.
.El
.Pp
Otherwise, the exit status of
.Nm
will be that of
-.Ar utility .
+.Ar command .
.Sh FILES
.Bl -tag -width \*[Lt]sys/resource.h\*[Gt] -compact
.It \*[Lt]sys/resource.h\*[Gt]