我有一个大文本文件,我想从中删除另一个文本文件中的一些行。似乎sed
Unix shell 中的命令是执行此操作的好方法。但是,我无法弄清楚为此使用哪些标志。.
数据库.txt:
this is line 1
this is line 2
this is line 3
this is line 4
this is line 5
lines_to_remove.txt
this is line 1
this is line 3
what_i_want.txt
this is line 2
this is line 4
this is line 5