Exclusion (XOR)
Exclusion (XOR)
Description
Create the mutual exclusion (XOR) of two or more sets.
Each line in the input text files is treated as an item. Items are case- and whitespace-sensitive. The order of items is not maintained.
Input files
- at least 2 entries files (.txt)
Output files
- Exclusion (exclusion.txt)
Context

Example
The following input files:
a.txt
John Paul George
b.txt
Paul George Ringo
...result in the following file:
exclusion.txt
John Ringo
Source code
exclusion.rb, exclusion.yaml (GitHub)