shell判断新字符串列表是否在老字符串列表中
for sn in `cat 12.30-new`;do if ! [[ `cat 12.30-old` =~ $sn ]];then echo $sn; fi; done
posted on 2020-12-30 16:22 zhangmingda 阅读(712) 评论(0) 编辑 收藏 举报
for sn in `cat 12.30-new`;do if ! [[ `cat 12.30-old` =~ $sn ]];then echo $sn; fi; done
posted on 2020-12-30 16:22 zhangmingda 阅读(712) 评论(0) 编辑 收藏 举报