On Thu, Apr 12, 2007 at 06:41:24AM +0800, John Summerfield wrote:
Luciano Miguel Ferreira Rocha wrote:
It works for me:
$ time (echo a ; echo b) a b
real 0m0.001s user 0m0.000s sys 0m0.001s
There's no evidence there of what you're timing.
time (sleep 1; sleep 2)
real 0m3.008s user 0m0.001s sys 0m0.002s
time (ls -d /; dd if=/dev/zero of=/dev/null bs=16M count=3200) 3200+0 records in 3200+0 records out 53687091200 bytes (54 GB) copied, 1.49506 seconds, 35.9 GB/s
real 0m1.502s user 0m0.005s sys 0m1.428s