[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gettext debconf templates translations : several outdated packages discovered



On Thu, Mar 11, 2004 at 12:53:15AM +0200, Lars Wirzenius wrote:
> It strikes me that a tool that reads a list of package names and
> produces a nicely formatted list of packages and maintainers would
> occasionally be useful. That information should be greppable from
> Packages files, shouldn't it? Perhaps the tool exists already?

A very crude first attempt (for instance, it doesn't recognize source
packages correctly, only binary packages):

for PKG in `cat pkglist.txt`; do ( apt-cache show $PKG 2>/dev/null || echo Maintainer: _Unknown ) | grep Maintainer: | cut "-d " -f2- | cut '-d<' -f1 | tr -d "\n" ; echo ": $PKG"; done | sort

/* Steinar */
-- 
Homepage: http://www.sesse.net/



Reply to: