yxixi 发表于 2018-8-21 12:21:25

shell其他

  1.
  cat file1
  abc
  cde
  cat file2
  abc
  bce
  如何拉出file1中有,而file2中没有的行?
  comm -23 file1 file2
  cde
  grep -vxFf b a
  cde

页: [1]
查看完整版本: shell其他