Re: Time Command error in Slink?
Wayne Topa <email@example.com> writes:
> I have found a problem when using the time command. From the man page
> -o FILE, --output=FILE
> -a, --append
> So the command 'time -a -o log makebzImage' should log the time used
> to compile the kernel (in this example) to the file 'log'. What is
> does instead is : bash: -a: command not found Then reports the time
> when the compile completes. Nothing is appended to the log file.
> the man page example:
> The man page example: time -f "%E real,%U user,%S sys" ls -Fs
> bash: -f: command not found
> real 0m0.015s
> user 0m0.000s
> sys 0m0.020s
> My question is, is this a problem version of bash I have installed,
> or is the time program slink installs just not working as advertised?
> bash -version
> GNU bash, version 2.01.1(1)-release (i486-pc-linux-gnu)
> %uname -a
> Linux mtntop 2.2.6 #21 Thu Apr 22 14:03:47 EDT 1999 i686 unknown
> Could someone running Potato with bash 2.02.1-1.3, see if the same
> thing happens there?
I'm running potato with bash 2.02.1-1.4 and time 1.7-4.
I get the same result you do. I tried substituting --format for -f,
and got essentially the same result:
bob:vc-p1:bob>time --format "%E real,%U user,%S sys" ls -Fs
bash: --format: command not found
|_) _ |_ Robert D. Hilliard <firstname.lastname@example.org>
|_) (_) |_) Palm City, FL USA PGP Key ID: A8E40EB9