次のように実行される次のスクリプトがあります。
>> bash test.sh < 0 0
test.sh の内部
read $sni
read $snf
echo 'Run between '$sni' and '$snf
for i in {sni..snf}
do
done
しかし、次のエラーが表示されます。
test.sh: line 14: [: {sni..snf}: integer expression expected
test.sh: line 19: [: {sni..snf}: integer expression expected
ループ変数を整数にする方法は? ありがとう。