Line 260: *0: syntax error: operand expected (error token is "*0")

Can you please paste the output of

cat /proc/cpuinfo

The failing line is the one which aims to calculate the number of physical CPU cores