set Update=`ls -l /cjpgmserver/probe/log/${hostname} |awk '{print $8}'`  # 获取文件夹中的文件列表,并获取文件名

if($Update == `cat ${Maindir}Old_Time.log` && `cat /tmp/data.pcm |grep name |wc -l` == 5 && `cat ${Maindir}Before.log |grep Wafer |awk '{print $4}'` != `cat /cjpgmserver/probe/log/${hostname} |grep p1wafer |cut -d '=' -f2`) then
    sleep 1;  # 等待1秒钟
    goto Re  # 跳转到标签Re
else
    echo ""  # 输出空行
endif
请帮忙用中文添加注释set Update=ls -l cjpgmserverprobelog$hostname awk print $8	if$Update == cat $MaindirOld_Timelog && cat tmpdatapcm grep name wc -l == 5 && cat $MaindirBeforelog grep Wafer awk print $4 != cat

原文地址: https://www.cveoy.top/t/topic/hHIq 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录