I have a couple of files with names and need to find names that occur in all of them. E.g.
File 1 | File 2 | File 3
--------------------------------
A | B | C
S | A | T
T | O | W
G | F | I
R | X | A
In this case it should give me 'A' since all files contain it. The order doesn't matter, but it should find all names that occur in all files and not stop after it found the first!
Is there a way to do this with the command line?