Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 06:00:22 -0700 (PDT)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/36874: time(1): invalid arguments
Message-ID:  <200204081300.g38D0Mx01244@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/36874; it has been noted by GNATS.

From: Edwin Groothuis <edwin@mavetju.org>
To: aaron <aaron@lo-res.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204081300.g38D0Mx01244>