Re:GNU Parallel 2018
by mechanical_jane on Sunday August 18, 2019 @04:59AM
(#20729080)
It would require your input not to have any special shell chars - e.g. no space.
It is definitely not something I would dare to run in production.
... | xargs -P10 -i sh -c 'command {} 1>{}.out 2>{}.err'
or maybe with tee:
... | xargs -P10 -i sh -c 'command {} | tee -a {}.out'