Did you try putting an "echo" in front of the wget command?
I use scripts to build scripts - all-the-time. BTW, I'd write it this way:
Code:
#!/bin/bash
OPT1=" --no-clobber --convert-links -nH -nd -p -E -e robots=off -U mozilla -P /home/jousr/Desktop/KitGuru"
OPT2="https://www.kitguru.net/lifestyle/mobile/notebook/dominic-moass/dream-machines-p960rn-laptop-review-9750h-2080-max-q"
for i in {1..4} ; do
echo wget $OPT1/$i $OPT2/$i/
done
I didn't verify all the options. Output is:
Code:
$ bash /tmp/t
wget --no-clobber --convert-links -nH -nd -p -E -e robots=off -U mozilla -P /home/jousr/Desktop/KitGuru/1 https://www.kitguru.net/lifestyle/mobile/notebook/dominic-moass/dream-machines-p960rn-laptop-review-9750h-2080-max-q/1/
wget --no-clobber --convert-links -nH -nd -p -E -e robots=off -U mozilla -P /home/jousr/Desktop/KitGuru/2 https://www.kitguru.net/lifestyle/mobile/notebook/dominic-moass/dream-machines-p960rn-laptop-review-9750h-2080-max-q/2/
wget --no-clobber --convert-links -nH -nd -p -E -e robots=off -U mozilla -P /home/jousr/Desktop/KitGuru/3 https://www.kitguru.net/lifestyle/mobile/notebook/dominic-moass/dream-machines-p960rn-laptop-review-9750h-2080-max-q/3/
wget --no-clobber --convert-links -nH -nd -p -E -e robots=off -U mozilla -P /home/jousr/Desktop/KitGuru/4 https://www.kitguru.net/lifestyle/mobile/notebook/dominic-moass/dream-machines-p960rn-laptop-review-9750h-2080-max-q/4/
Whether any of this works, I don't know.