从一个文件中删除与另一个文件中的行匹配的行的最简单方法是什么?例如,如果我有以下文件:
文件1.csv:
u2@domain.com
Run Code Online (Sandbox Code Playgroud)
file2.csv:
1,u1@domain.com,somehash1
2,u2@domain.com,somehash2
3,u3@domain.com,somehash3
Run Code Online (Sandbox Code Playgroud)
结果我想要file3.csv:
1,u1@domain.com,somehash1
3,u3@domain.com,somehash3
Run Code Online (Sandbox Code Playgroud)
解决此任务的最快方法是什么?这些文件只有几 GB。
我正在寻找某种方法来解除默认绑定到视图 -> 查找光标的命令 + /键
我更喜欢在 vim 中以不同的方式使用它,在 vim 会话期间解除绑定更多 iTerm2 密钥也会很棒。
谢谢!