Output if data in file a is different from file b

[:]$ cat a
cdaa73fbb819f8af88a90843ce559328966c55d2  aa
2d33d2a0dfda680ee6bdf7dd8a18fa842e368271  bb
da39a3ee5e6b4b0d3255bfef95601890afd80709  cc
[aguirar@soctxlab04:/tmp/test_repo]$

[:]$ cat b
c388353f63244b1891593c4072ee687e47d74010  /tmp/a/aa
2d33d2a0dfda680ee6bdf7dd8a18fa842e368271  /tmp/a/bb
[:]$

Will show output aa

With over 160+ posts... where exactly are stuck?

it will compare file a and file b.

---------- Post updated at 11:29 AM ---------- Previous update was at 10:46 AM ----------

I got ugly awk command..we can close this ticket though

awk '$1==$3 {print $2, "has the same checksum as", $4, "which is", $1,"and",$3}' c

---------- Post updated at 11:33 AM ---------- Previous update was at 11:29 AM ----------

I was hoping I can also print the lines that are not match. though i can do it via awk command again. but it will end up 2 liner awk command.

---------- Post updated at 11:33 AM ---------- Previous update was at 11:33 AM ----------

I was hoping I can also print the lines that are not match. though i can do it via awk command again. but it will end up 2 liner awk command.

---------- Post updated at 12:30 PM ---------- Previous update was at 11:33 AM ----------

My solution is wrong..it will only work if two directories are same files..and almost identical.

Why not use the command:

diff a b

to compare files a and b and show which lines are different.