You could even just use grep directly.
Code:
grep -F -v -f filea.txt fileb.txt
grep -F -v -f fileb.txt filea.txt
-f takes the search patterns from a file instead of the command line.
-v inverts the search, to show what doesn't match.
-F searches for fixed strings only. Not necessary, but more efficient on big operations.
So the first example searches fileb.txt for all the lines in filea.txt, and outputs anything it doesn't find. And vice-versa for example 2.