解决方法:
方案一、
shell脚本输出值的方式由: echo $count_line 修改为 echo $count_line |bc (数据类型string转换int)
方案二、
shell脚本输出值的方式由: echo $count_line 修改为 echo $count_line | awk ‘{print int($0)}’ (数据类型string转换int)
解决方法:
方案一、
shell脚本输出值的方式由: echo $count_line 修改为 echo $count_line |bc (数据类型string转换int)
方案二、
shell脚本输出值的方式由: echo $count_line 修改为 echo $count_line | awk ‘{print int($0)}’ (数据类型string转换int)