Comment
Comment by jimrandomh
The reason 'time' is a builtin is because it can time a complete shell pipeline, not just a single command. If you type
Then the result is the total time taken by foo and bar together. This requires it to have special-case syntax. Whereas
Would run foo and give its time statistics as input to bar.