On Tue, Jan 31, 2006 at 10:32:57PM +0100, Marc Haber wrote: > On Tue, Jan 31, 2006 at 09:45:14PM +0100, Florian Weimer wrote: > > * Marc Haber: > > > the output of the PTS > > > (http://packages.qa.debian.org/c/clamav-data.html) still uses a > > > table-driven layout which is a bitch to parse. > > > > Why do you want to parse it in the first place? > > I want to check whether a given package has migrated from unstable to > testing in a cron job, and this cron job should be able to run on a > host that doesn't have a local archive.
Use http://qa.debian.org/data/ddpo/ddpo_packages, the 2nd and 3rd field in the [foo,bar,baz,.....] bit are testing and unstable respectively. --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]