我有这段代码:
set calls = `cut -d" " -f2 ${2} | grep -c "$numbers"`
set messages = `cut -d" " -f2 ${3} | grep -c "$numbers"`
@ popularity = (calls * 3) + messages
和错误
@ expression syntax
这是什么意思? grep -c
返回号码,我错了,先谢谢
in $ numbers我有数字列表,2和3参数也包含数字