How to subtract a set from another in Bash?
This is similar to: Is there a "set" data structure in bash? but different as it asks how to perform the subtraction, with code
- set1: N lines as output by a filter
- set2: M lines as output by a filter
how to get:
- set3: with all lines in N which don't appear in M