I'm trying to grab some output from the time command, which is prefacing
a dd command.
This:
TIMEFORMAT=$'%3R'
time dd if=/dev/urandom bs=1024 count=${bytes} of=$testdir/${count}.xxx
> /dev/null 2>&1
works great for standard output:
0.021
How can I grab this into a variable? Nothing I've tried works :(
Thanks.
jh