AWK统计文件中包括空格的数量

已邀请:

  pro_monitor_ser_num=`awk -v RS='\0' -F' ' '{print NF-1}' /tmp/clusterlist`

要回复问题请先登录注册