【发布时间】:2015-07-23 10:24:41
【问题描述】:
当我运行脚本时,出现以下错误。请问我在这里做错了什么?任何帮助表示赞赏 - Bash 新手
错误:
line 12: 0=1: command not found
line 13: 0=1: command not found
我的脚本:
count_raw=0
avg_raw=0
$count_raw=1
$avg_raw=1
echo "count_raw=$count_raw"
echo "avg_raw=$avg_raw"
【问题讨论】:
-
去掉
count_raw和avg_raw之前的美元 -
解决了,谢谢-
标签: bash