Okay, I used ShellCheck, then I used the apply fixes hyperlink and it chnged a couple of lines
Code:
this
echo $FF $VF1$CUT1$CUT2$CUT3$VF2$CUT1$CUT2$CUT3$VF3 $OUT
to this
$FF $VF1$CUT1$CUT2$CUT3$VF2$CUT1$CUT2$CUT3$VF3 $OUT
Still didn't work so I tried adding eval and used this to execute the command
Code:
eval $FF "$VF1"$CUT1$CUT2$CUT3"$VF2"$CUT1$CUT2$CUT3$VF3 $OUT
and success!
thanks everyone.
No to finish the actual script, I'll publish it in this thread when done