[NTLUG:Discuss] let me try that again - time

Darin W. Smith darin_ext at darinsmith.net
Fri May 30 10:05:40 CDT 2003


I think what you may be encountering is that bash itself has a builtin 
'time' reserved word.  It does what time(1) does, it times a command.  It 
understands one option, -p, which directs it to produce POSIX-compliant 
output.

My time(1) manpage shows that it has exactly the same format and options as 
the bash builtin.

Try "time command" vs. "/usr/bin/time command"

They seem to work identically for me, as does "time -p command" and 
"/usr/bin/time -p command"

What options, besides -p, are you trying to use?  I don't see any other 
options specified when I do:
man 1 time
OR
man bash (and search for time)

D!


On Fri, 30 May 2003 09:45:33 -0500, Fred James <fredjame at concentric.net> 
wrote:

> It appears that I wasn't clear enough on my first request, so please 
> forgive me for trying again.
> I know what "time" and "date" are, and what their intended uses are.
> I really do want to use "time" - unless someone can suggest something 
> better for the purpose.
> The problem I am having is syntax - no matter how much I read the 
> man(ual) pages, or which user I am at the moment, I cannot seem to get 
> "time" to recognise any of its own options or formating.  Right off the 
> bat, I would say that means that either (a) the man(ual) pages lie, or 
> (b) I don't understand something.  From past experience I would vote for 
> "b".
> What I believe I need is a little instruction on the syntax of "time", or 
> a pointer toward documentation on same.
> Thank you in advance for any help you may be able to offer.
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>



-- 
D!
Darin W. Smith
AIM: JediGrover



More information about the Discuss mailing list