问题描述:
count.sh: line 28: 2.23577e+06+230: syntax error: invalid arithmetic operator (error token is ".23577e+06+230")
解决如下:
awk 'BEGIN{FS=",";ttime=0}{ttime=$12+ttime}END{printf ttime}') 原来错误
awk 'BEGIN{FS=",";ttime=0}{ttime=$12+ttime}END{printf"%d\n",ttime}') 修正
阅读(6731) | 评论(0) | 转发(0) |