shell脚本实例之Charpter8-14
#!/bin/bashecho "Pleas input two integer number(the first num must be smaller than the second one):"
read firstNum secondNum
fun0()
{
while [ $1 -lt $2 ]
do
echo "Your input is:" "$firstNum " "$secondNum"
break
done
}
fun0 $firstNum $secondNum
declare -a arr1
let i=firstNum
arr1=(
$(
while ((i
页:
[1]