bash array printf in gnu parallel

I am trying pass bash array variable, that contain two elements to GNU parallel script: echo ${opts[@]} -s 100206 -i /input/100206/unprocessed/3T/T1w_MPR1/100206_3T_T1w_MPR1.nii.gz -s 100408 -i /input/100408/unprocessed/3T/T1w_MPR1/100408_3T_T1w_MPR1.nii.gz I tried to run it like this printf ‘%s\n’ “${opts[@]}” | parallel –jobs 8 –timeout 250% –progress recon-all {.} -all -qcache It looks like I use printf wrong: printf ‘%s\n’…

Details