📌  相关文章
📜  awk 如何删除一个文件中在另一个文件中找到的行 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:47.259000             🧑  作者: Mango

代码示例1
# Example 1
awk 'NR==FNR{a[$0];next} !($0 in a)' file_2 file_1
# This returns all lines in file_1 that are not found in file_2
# See source for more info on how the command works