Difference of packages

Hello all.

I need to know the difference of packages installed on 2 different nodes.

I used pkginfo on node1 and sorted it and saved the result to a text file1. Then I used pkginfo on node2 and sorted it aswell and saved the result to a text file2.

How can I know the which packages are missing on on node1 that have been installed on node2 ?

Refer to the manual page for the comm command.

Regards,
Alister