From owner-freebsd-bugs Mon Apr 8 6: 0:37 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EE54037B421 for ; Mon, 8 Apr 2002 06:00:22 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g38D0Mx01244; Mon, 8 Apr 2002 06:00:22 -0700 (PDT) (envelope-from gnats) Date: Mon, 8 Apr 2002 06:00:22 -0700 (PDT) Message-Id: <200204081300.g38D0Mx01244@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Edwin Groothuis Subject: Re: bin/36874: time(1): invalid arguments Reply-To: Edwin Groothuis Sender: owner-freebsd-bugs@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 bin/36874; it has been noted by GNATS. From: Edwin Groothuis To: aaron Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/36874: time(1): invalid arguments Date: Mon, 8 Apr 2002 22:57:15 +1000 On Mon, Apr 08, 2002 at 02:46:29PM +0200, aaron wrote: > >Description: > as mentioned in the man pages, time(1) should accept some > flags such as "-l", "-p" > > But it complains (tries to execute the flags) when f.ex "-l" is > given. > > >How-To-Repeat: > > aaron@meta:~> time -l ls > bash: -l: command not found > ^^^^^^^^^^^^^^ ---- oops! > real 0m0.004s > user 0m0.001s > sys 0m0.002s > > > HOWEVER: when you type in in: > /usr/bin/time -l ls > > everything works as expected. time (without the path) is the one which is implemented in your shell. /usr/bin/time (with the path) is the one which is coming with the system. If you're using bash, see "man bash" and search for time. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message