Re: interpreting Status field in dpkg status/available file
On Tue, Feb 27, 2001 at 12:21:11PM +1100, Craig Sanders wrote:
> i've finally found some time to start working on dlocate again, and one
> of the things i'm doing is fixing the dlocate -l" search feature.
>
> one of the things i need to do is parse the Status field so i can produce
> the same 3-letter codes that dpkg does.
Why? Can't you just take the output of
COLUMNS=1000 dpkg -l \*
and let dpkg do the work? It doesn't chop off any package names.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: