我有这段代码:
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
返回号码,我错了,提前谢谢
在 $numbers 我有数字列表,2 和 3 参数也包含数字