0
syntax error: operand expected (error token is " ")
我得到這個語法錯誤與我當前的代碼:語法錯誤:預期操作數(錯誤標記爲「‘)
log= who | grep $1 | cut -c 30-31,33-34
echo $log
time= date | cut -c 12-13,15-16
echo $time
on=$(($time - $log))
echo $on
如果我沒有記錯,’」代表空。我爲什麼得到這個?