Date: Fri, 7 Jun 2002 14:00:09 -0700 (PDT) From: Tom Rhodes <darklogik@pittgoth.com> To: freebsd-doc@FreeBSD.org Subject: Re: docs/38985: time doesn't recognize its command-line options Message-ID: <200206072100.g57L09Y90537@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/38985; it has been noted by GNATS.
From: Tom Rhodes <darklogik@pittgoth.com>
To: Chris Pepper <pepper@rockefeller.edu>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: docs/38985: time doesn't recognize its command-line options
Date: Fri, 07 Jun 2002 16:59:21 -0400
Chris Pepper wrote:
>>Number: 38985
>>Category: docs
>>Synopsis: time doesn't recognize its command-line options
>>Confidential: no
>>Severity: non-critical
>>Priority: medium
>>Responsible: freebsd-doc
>>State: open
>>Quarter:
>>Keywords:
>>Date-Required:
>>Class: doc-bug
>>Submitter-Id: current-users
>>Arrival-Date: Fri Jun 07 08:20:02 PDT 2002
>>Closed-Date:
>>Last-Modified:
>>Originator: Chris Pepper
>>Release: 4.6RC
>>Organization:
>>Environment:
>>
> FreeBSD guest.reppep.com 4.6-RC FreeBSD 4.6-RC #0: Fri May 31 22:33:23 EDT 2002 root@guest.reppep.com:/usr/obj/usr/src/sys/GENERIC i386
>
>
>>Description:
>>
> time's man page says it provides various flags, including -h (human-readable) and -p (POSIX-style), but these flags generate errors when used.
>
> guest# man time
> TIME(1) FreeBSD General Commands Manual TIME(1)
>
> NAME
> time - time command execution
>
> SYNOPSIS
> time [-al] [-h | -p] [-o file] command
>
> DESCRIPTION
> The time utility executes and times command by initiating a timer and
> passing the command to the shell. After the command finishes, time
> writes to the standard error stream, (in seconds): the total time
> elapsed, the time used to execute the command process and the time con-
> sumed by system overhead.
>
> Available options:
>
> -a If the -o flag is used, append to the specified file rather than
> overwriting it. Otherwise, this option has no effect.
>
> -h Print times in a human friendly format. Times are printed in
> minutes, hours, etc. as appropiate.
>
> -l The contents of the rusage structure are printed as well.
>
> -o file
>
>
>>How-To-Repeat:
>>
> guest# time -h ls
> -h: Command not found.
> 0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
> guest# time -p ls
> -p: Command not found.
> 0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
> guest# time -l ls
> -l: Command not found.
> 0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
>
>
echo $SHELL
man 1 builtin
--
Tom (Darklogik) Rhodes
www.Pittgoth.com Gothic Discussion Forum
www.FreeBSD.org The Power To Serve
trhodes@{Pittgoth.com, FreeBSD.org}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206072100.g57L09Y90537>
