Since you are using rpms, you could use
rpm -qa --qf '%{name}\t%{version}\t%{release}\t%{arch}\n' | sort >pkg-list
to keep the name away from the version etc.
Substitute ',' for '\t' and you get a csv format.
Of course you can delete all the version stuff if you want to just
compare what packages you have, and then worry about version differences.
Diff output can be hard to read, so I would use the -u diff option to
get the context of the changes - more lines in the output but easier to
see what is in or out.
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main