Re:A Million Text Files and a Single Laptop
by coderzach on Tuesday March 08, 2016 @05:02PM
(#11249115)
I don't think that's the case, the default behavior of gnu parallel is to buffer the entire output before outputting. The output will only be interleaved if the `--ungroup` option is used. Parallel also has --line-buffer, which will interleave lines, rather than arbitrary bytes.
[ Parent
| on HN ]
Are you suggesting that the command argument to `parallel` is shell that's parsed and reinterpreted by `parallel`?
Buffering the output would make more sense, but the OP's command isn't outputting to stdout, but rather appending directly to a file.
Good point. The command should simply move the >>file outside of the quote, and then it will work.