a guest Jun 16th, 2016 136 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. b=$SECONDS
  2. s(){
  3. b=$SECONDS
  4. sleep 5
  5. echo $[SECONDS-b]>>j
  6. }
  7. for i in {1..13};{ s&}
  8. wait
  9. for i in $(<j);{ t=$[t+i];}
  10. e=$SECONDS
  11. echo \[$[e-b],$t\]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand