Using bash version whaterver came /w hail

I wrote in earlier trying to get a sol'n to piping the output of time. 
The man page of time says that it outputs to std err.  so time command
2> outfile.txt should send all output from time to the file outfile.txt.
 When I run this, time's output goes to term and file is created but
void of content.  

A bug in bash???
bash cannot recognize the time command from with in a case statement.  I
know my case statement is fine, b/c it works w/o the time added in.  but
when one of my case options is say...

case $action in
        b)      time cdrdao read --speed $speed etc --datafile $game.bin.......
..
esac

I get the error "./psx: time: command not found" where psx is name of
script.

to Chris J.
thanks
"export TIMEFORMAT="real %lR"
time ls > /dev/null"

to Chris T.
I think this would work but see my problem above regarding the empty
output of std err?????

Shea Martin
~~~~~~~~~~~
Duke of Silton
        &
Earl of S'toon
###########

_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list

Reply via email to