原文:Using time in a bash script: how to get the "normal" output?
If I use time in the shell, I get an output like $ time sleep 1 real 0m1.003s user 0m0.000s sys 0m0.000s However, if I use the same command in a bash script, the output is this 0.00user ...