On Thu, Jun 08, 2006 at 12:31:29AM -0700, Don Armstrong wrote:
> On Thu, 08 Jun 2006, Kai Hendry wrote:
> > One being Date:
> > 
> > To show when the package was last touched. Currently I get this
> > information from the painfully from the "Latest News" section of the QA
> > page, e.g.: http://packages.qa.debian.org/g/geomview.html
> 
> Is there any reason why
> 
> zcat /usr/share/doc/<package>/changelog.Debian.gz |perl -ne \
> 'next unless /^ -- .+?\s{2}(.+)$/; print $1,qq(\n) and exit;';

Rather use dpkg-parsechangelog:

zcat /usr/share/doc/<package>/changelog.Debian.gz| dpkg-parsechangelog -l- 
|grep '^Date'

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to