Posted By

benpjohnson on 05/11/10


Tagged

Bash text


Versions (?)

Subtract file2 from file1


 / Published in: Bash
 

Using a sorted list remove all the lines in file2 from file1

  1. comm -23 file1 file2 > file3

Report this snippet  

You need to login to post a comment.