Код: Выделить всё
#!/bin/bash
index_array=(50 60 70)
for i in ${index_array[@]}
do
./radex
Подробнее здесь: [url]https://stackoverflow.com/questions/79288143/how-to-do-a-for-loop-within-a-here-document-linux-shell-script[/url]Код: Выделить всё
#!/bin/bash
index_array=(50 60 70)
for i in ${index_array[@]}
do
./radex
Подробнее здесь: [url]https://stackoverflow.com/questions/79288143/how-to-do-a-for-loop-within-a-here-document-linux-shell-script[/url]