On 2006-06-08T00:31-0700 Don Armstrong wrote: > 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;'; > isn't sufficient for all non-native packages?
What if that package isn't installed on your system? It's all also uglier than apt-cache show package | grep ^Date: > > Next field is URL: or URI: (http://www.w3.org/Addressing/) > > Or perhaps Upsteam-URL: > > A reference to upstream's homepage. > That should be in /usr/share/doc/<package>/copyright; some packages > also have it in the description. Sure, but lets make it a little more concrete. Upstream: http://... is probably sufficient after thinking about it.
signature.asc
Description: Digital signature