if和[之间要有空格,把if[改成if [
if
[
if[
if [
关键字和变量之间要有间隔。
if condition ; then command。其中if要和condition之间有空格,要不然就认不出来了
if condition ; then command
condition
加空格