Skip to content

Instantly share code, notes, and snippets.

@QuynhVir
Created January 8, 2019 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuynhVir/af9673d73277b6738d4d47dfb9c68b3a to your computer and use it in GitHub Desktop.
Save QuynhVir/af9673d73277b6738d4d47dfb9c68b3a to your computer and use it in GitHub Desktop.
Xóa tất cả dòng chứa trong file2 khỏi file1 và lưu thành file3
comm -2 -3 <(sort file1.txt) <(sort file2.txt) > file3.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment