Quoting Benjamin Smith <lists@xxxxxxxxxxxxxxxxxx>:
Attached is a PHP script that, when run at the command line, returns
a list of
"testing" packages currently installed.
I just looked at your script now. In it, it says:
yum list installed puts a number and a colon at the beginning
of the version info. I don't know what it's for, but it
makes the packages fail pattern matching, so it's gotta go.
That number and colon is the "Epoch" number of the RPM. Normally not
used, but it shouldn't really be ignored in case it is used.
I think the legacycheck.pl script is a better base to start with than
yours (just my humble opinion), so there may be no need to modify your
script, but I thought I'd let you know what those numbers mean as a matter
of course...
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Go Longhorns!
--
fedora-legacy-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-legacy-list