I have 2 txt files.
The first txt file contains something like this: direction:left, move:right
The second txt file contains something like this: direction:right, move:right
Note: on both txt files, everything is on one line.
I want to be able to get the difference between those two txt files. So in the example above, it would return "right".
I tried using grep, comm, and diff. Those didn't work, because instead of printing the exact difference it just printed the different line, I just want the different phrase.
How do I do this in bash?