Using only bash, I am trying to extract all the new content between a file A & a file B in the most efficient way possible.
I can't seem to get it right using diff or comm. What would you recommend instead?
Example:
file A:
1
2
3
file B:
2
3
4
expected output:
4