1
time seq 100 | xargs -i bash -c 'echo {}'

; 2.530s

time seq 100 | xargs -i sh -c 'echo {}'

; 0.223s

why?

PS: The title of mine for this post is more intuitive to be discovered or searched by google or any sort of search engines.

dessert
  • 40,956
user58029
  • 141
  • 7

0 Answers0