I have 2 files a:
2 m1.small
1 m3.large
2 m3.medium
2 t1.micro
1 t2.large
7 t2.medium
4 t2.micro
7 t2.small
and b:
1 c4.2xlarge
1 c4.large
2 m1.small
1 m3.large
3 m3.medium
1 m4.large
3 t1.micro
3 t2.large
11 t2.medium
7 t2.micro
7 t2.small
When I use sdiff I get all different as a result:
$ sdiff a b
2 m1.small | 1 c4.2xlarge
1 m3.large | 1 c4.large
2 m3.medium | 2 m1.small
2 t1.micro | 1 m3.large
1 t2.large | 3 m3.medium
7 t2.medium | 1 m4.large
4 t2.micro | 3 t1.micro
7 t2.small | 3 t2.large
> 11 t2.medium
> 7 t2.micro
> 7 t2.small
Whereas I can clearly see a match for at least
2 m1.small
1 m3.large
7 t2.small
Why is this, and can I do anything to optimize the result I get from diff.
I've also tried with meld(windows diff tool) and that gives me the exact same result.