From owner-freebsd-doc Fri Jun 7 8:20:25 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 87AD537B40E for ; Fri, 7 Jun 2002 08:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g57FK2t25812; Fri, 7 Jun 2002 08:20:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 69F5E37B40D for ; Fri, 7 Jun 2002 08:15:40 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g57FFdhG014396 for ; Fri, 7 Jun 2002 08:15:39 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g57FFdDC014395; Fri, 7 Jun 2002 08:15:39 -0700 (PDT) Message-Id: <200206071515.g57FFdDC014395@www.freebsd.org> Date: Fri, 7 Jun 2002 08:15:39 -0700 (PDT) From: Chris Pepper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: docs/38985: time doesn't recognize its command-line options 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 >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 >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message