标签: unix sh
执行以下代码时出现错误countprocess_flag cannot be found..:
countprocess_flag cannot be found..
if [ $v2 -eq 2 ]; then countprocess_flag = 1 else countprocess_flag = 0 fi
有谁知道我做错了什么?
答案 0 :(得分:4)
Bourne shell中的分配必须在=
=