[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Time bug (?)

From: Christopher Simons
Subject: Time bug (?)
Date: Fri, 21 Nov 2003 03:38:24 -0500 (EST)

I don't think this constitutes the title of "bug", but

When the "time" command is given with no parameters in
the bash shell (I have done this in redhat9 and
FreeBSD 5.1-RELEASE, so I assume all systems do this),
it spits out:

-bash-2.05b$ time
bash: syntax error near unexpected token `newline'

In the traditional Bourne shell, as well as csh, tcsh,
ksh, and zsh, no error is given, although they each
respond differently:

(sh) $ time

(csh) %time
0.000u 0.014s 0:01.76 0.5%    2364+1464k 2+0io 0pf+0w

(tcsh) > time
0.000u 0.014s 0:01.14 0.8%    1576+1208k 0+0io 0pf+0w

(ksh) $ time
    0.00s user    0.00s system

(zsh) host% time
shell 0.01s user 0.01s system 0% cpu 3.521 total
children 0.00s user 0.00s system 0% cpu 3.521 total

I am more of a desktop-user than a developer, so I
didn't try to figure out whether this problem lied. 
Anyway, I hope this helps.

Christopher Simons

Lèche-vitrine ou lèche-écran ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]