I want to download multiple files and save them to the md5 sum of its name:cat list | parallel -j4 md5=$(wget -O - {} | tee tmpfile_{#} | md5sum | cut -d ' ' -f 1); mv tmpfile_{#} $md5but the problem is that bash seems to execute the wget stuff before execution of parallel replaces {}... so wget wants to download from http://{}so how can parallel replace its variables before the execution of the subcommand?
replacement inside parallel command string
bash;quoting;parallel