News for hackers. Stuff that matters.
Re:/usr/bin/time: not the command you think you know by chubot on Monday March 06, 2017 @11:00PM (#13808165)
Yes, as a consequence, it also lets you do this:

    time {
      sleep 0.1
      sleep 0.2
    }
    # result is 0.3 seconds
 
which you obviously can't do with an external command. I wrote about that here:

https://lobste.rs/s/hwgt2h/usr_bin_time_not_command_you_thin...

Re:/usr/bin/time: not the command you think you know by arthur2e5 on Monday March 06, 2017 @11:35PM (#13808305)
The `time` syntax in combination with for loops or just shell functions is pretty useful as well.