diff options
Diffstat (limited to 'bin/ksh/ksh.1tbl')
-rw-r--r-- | bin/ksh/ksh.1tbl | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl index eb6c0548444..db6d1a57454 100644 --- a/bin/ksh/ksh.1tbl +++ b/bin/ksh/ksh.1tbl @@ -1,4 +1,4 @@ -.\" $OpenBSD: ksh.1tbl,v 1.82 2004/12/16 02:10:59 jaredy Exp $ +.\" $OpenBSD: ksh.1tbl,v 1.83 2004/12/22 18:48:56 millert Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -3980,21 +3980,24 @@ the user CPU time (time spent running in user mode), and the system CPU time (time spent running in kernel mode). Times are reported to standard error; the format of the output is: .Pp -.Dl 0.00s real 0.00s user 0.00s system +.Dl "0m0.00s real 0m0.00s user 0m0.00s system" .Pp -unless the +If the .Fl p -option is given (only possible if -.Ar pipeline -is a simple command), in which case the output is slightly longer: +option is given the output is slightly longer: +.Bd -literal -offset indent +real 0.00 +user 0.00 +sys 0.00 +.Ed .Pp -.Dl real 0.00 -.Dl user 0.00 -.Dl sys 0.00 +It is an error to specify the +.Fl p +option unless +.Ar pipeline +is a simple command. .Pp -(the number of digits after the decimal may vary from system to system). -Note -that simple redirections of standard error do not effect the output of the +Simple redirections of standard error do not effect the output of the .Ic time command: .Pp @@ -4005,8 +4008,13 @@ Times for the first command do not go to .Dq afile , but those of the second command do. .It Ic times -Print the accumulated user and system times used by the shell and by processes -which have exited that the shell started. +Print the accumulated user and system times used both by the shell +and by processes that the shell started which have exited. +The format of the output is: +.Bd -literal -offset indent +0m0.00s 0m0.00s +0m0.00s 0m0.00s +.Ed .It Ic trap Op Ar handler signal ... Sets a trap handler that is to be executed when any of the specified signals are received. |