Trying to use GNU Parallel with sed

Solution 1:

When I run that on a random file, I got a syntax issue. You need to quote the command:

cat $Filetemp | parallel --pipe 'sed -e "s/[[:space:]]\+/ /g"' > standard.txt

If that still doesn't work for you, test echo $Filetemp (or pick a file manually) or remove the redirection so you can see the output as it happens (just in case there's some sort of weird overwriting issue).