Trying to parallelize a sed operation however, while the parallel version works, it gives back a wrong output.The sed operation that I would like to parallelize (works)sed 's/\s.*$// ; s/\(.*\)/\L\1/' < oldfile.txt > newfile.txtMy Parallel version of the above sed operation (Does not work correctly for some reason):parallel -a oldfile.txt -k --block $BYTES --pipe-part sed 's/\s.*$// ; s/\(.*\)/\L\1/' > newfile.txt
Parallelizing sed gives different output
shell;sed;quoting;gnu parallel