Код: Выделить всё
#!/bin/bash
LIMIT=10
N=0
for ((a=1; a <= LIMIT; a++))
do
TRG=http://www/$N/example
let N=$a*25
echo $TRG
done
exit
http://www/0/example
http://www/25/example
http://www/50/example
http://www/75/example
http://www/100/example
http://www/125/example
http://www/150/example
http://www/175/example
http://www/200/example
http://www/225/example
Вар.2, который не работает
Код: Выделить всё
#!/bin/bash
LIMIT=10
N=0
TRG=http://www/$N/example
for ((a=1; a <= LIMIT; a++))
do
let N=$a*25
echo $TRG
done
exit
http://www/0/example
http://www/0/example
http://www/0/example
http://www/0/example
http://www/0/example
http://www/0/example
http://www/0/example
http://www/0/example
http://www/0/example
http://www/0/example
Ну ступил)