Hi,
Maybe it gives you the results you want, but it doesn't show files that are only missing from day 2 (file2) as stated in your first post.
1 - suppress lines unique to FILE1
2 - suppress lines unique to FILE2
3 - suppress lines that appear in both files
Examples:
Code:
# cat file1
0
1
A
B
W
X
$ cat file2
0
A
B
W
Z
$ comm -23 file1 file2
1
X
$ comm -3 file1 file2
1
X
Z
As you can see, -23 shows 1 and X, which are missing in file2. -3 also shows Z, which is present in file2 but missing in file1.
Anyway, which of these you actually need depends on the actual requirements.
Hope this clears things up a bit.