From owner-freebsd-doc Fri Jun 7 14: 0:34 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A9D2F37B409 for ; Fri, 7 Jun 2002 14:00:09 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g57L09Y90537; Fri, 7 Jun 2002 14:00:09 -0700 (PDT) (envelope-from gnats) Date: Fri, 7 Jun 2002 14:00:09 -0700 (PDT) Message-Id: <200206072100.g57L09Y90537@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Tom Rhodes Subject: Re: docs/38985: time doesn't recognize its command-line options Reply-To: Tom Rhodes Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/38985; it has been noted by GNATS. From: Tom Rhodes To: Chris Pepper 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