[jim@cornette-fc3 ~]$ rpm -qa --qf "%{NAME}\n" | sort >/tmp/example.out

[jim@cornette-fc3 ~]$ uniq </tmp/example.out | diff - /tmp/example.out
47a48
> binutils
85a87,88
> compat-libstdc++
> compat-libstdc++-devel
112a116,117
> dbus
> dbus-glib
130a136
> docbook-utils
147a154
> elfutils-libelf
155a163
> esound
200a209
> gcc-gnat
244a254
> gnome-desktop
282a293,299
> gpg-pubkey
> gpg-pubkey
> gpg-pubkey
> gpg-pubkey
> gpg-pubkey
> gpg-pubkey
> gpg-pubkey
326a344
> httpd
364a383,384
> kernel
> kernel
406a427,430
> libgcj
> libgcj
> libgcj-devel
> libgcj-devel
414a439,440
> libgnat
> libgnat
442a469
> libobjc
448a476
> libpng
451a480
> libpng-devel
464a494
> libsepol
467a498,501
> libstdc++
> libstdc++
> libstdc++-devel
> libstdc++-devel
485a520
> libwnck
489a525,526
> libxml2
> libxml2-devel
491a529
> libxml2-python
493a532,533
> libxslt
> libxslt-devel
565a606
> net-tools
571a613
> nscd
579a622
> openh323
643a687
> popt
653a698
> procps
658a704
> pwlib
671a718
> qt
696a744,745
> rpm
> rpm-build
698a748,749
> rpm-devel
> rpm-libs
700a752
> rpm-python
741a794
> spamassassin
772a826,827
> system-config-printer
> system-config-printer-gui
