I have two files, each containing a list of counts, where each line is the count for a particular process, e.g.
File 1:
10
13
12
7
15
File 2:
13
13
15
21
15
I wish to do the inverse of diff, that is, find which lines have not changed between the two files. Ideally the output would be line numbers, to identify the stalled processes, file_out:
2
5
In reference to potential duplicate: the 'inverse diff' questions are in fact looking for identical lines, irrespective of their position in the file (notwithstanding the file sorting you have to do). I am asking for a direct comparison of the same line in each file.