for item in `cat 2.txt`
do
    grep $item 1.txt >/tmp/test.txt
    if [ $? -ne 0 ];then
       echo "$item"
    fi
done

 

相关文章:

  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-11
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案