Try'd a lot of different commands, Diff / comm / grep / etc... But dont know how to manage this. It's for my bash script.
I want to get the result of the correct / incorrect answers. the example below should be 2 correct / 3 in-correct.
I have 2 files: 1: Correct-answers with this inside:
Answer A
Answer B
Answer C
Answer D
Answer A
2: Fill in with this inside:
Answer A
Answer R
Answer B
Answer D
Answer C