bash, Linux: Set difference between two text files

Posted by Adam Matan on Stack Overflow See other posts from Stack Overflow or by Adam Matan
Published on 2010-03-24T16:39:00Z Indexed on 2010/03/24 16:43 UTC
Read the original article Hit count: 337

Hi,

I have two files nodes_to_delete and nodes_to_keep. Each file has a many lines with numeric ids.

I want to have the list of numeric ids that are in nodes_to_delete but NOT in nodes_to_keep.

Adam

© Stack Overflow or respective owner

Related posts about bash

Related posts about set-difference