#! /bin/bash
for varible1 in {1..3}
#for varible1 in 1 2 3
do
echo "Hello, Welcome $varible1 times "
done
for varible1 in {1..3}
#for varible1 in 1 2 3
do
echo "Hello, Welcome $varible1 times "
done
期望结果:
Hello, Welcome 1 times
Hello, Welcome 2 times
Hello, Welcome 3 times
实际结果:
Hello, Welcome {1..5} times
这是怎么回事????????????????????
求帮助!!!!!!!!!!!!!!!!!!!!!!!