declare???
tracydundun@tracydundun-laptop:~/scripts$ number=2*3-3
tracydundun@tracydundun-laptop:~/scripts$ echo $number
2*3-3
tracydundun@tracydundun-laptop:~/scripts$ echo "$number"
2*3-3
tracydundun@tracydundun-laptop:~/scripts$ declare -i number=2*2-1
tracydundun@tracydundun-laptop:~/scripts$ echo $number
3
tracydundun@tracydundun-laptop:~/scripts$ more declare.sh
#writen at 7.2
#for declare
numebr1=2*3+2*3-4
declare number2=2*3+2*3-4
echo $number1
echo $number2
tracydundun@tracydundun-laptop:~/scripts$ sh declare.sh
declare.sh: 4: declare: not found
please tell me why "declare.sh:4:declare:not found"
thak you!!