別のテキスト ファイルにあるいくつかの行を削除したい大きなテキスト ファイルがあります。これsed
を行うには、Unix シェルのコマンドが適しているようです。ただし、これに使用するフラグを特定できませんでした。.
データベース.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