Use /var/lib/dpkg/status directly

2004-02-26 Thread Markus Braun
Hi, for a script I'm writing I need to get information for several packages. Because "dpkg -s ..." is slow I thought about using grep/awk on /var/lib/dpkg/status directly to get the information. I'm not sure if this is a valid possibility or if direct access to /var/lib/dpkg/status should be avoid

Re: Use /var/lib/dpkg/status directly

2004-02-26 Thread Frank Lichtenheld
On Thu, Feb 26, 2004 at 02:36:30PM +0100, Markus Braun wrote: > Hi, > > for a script I'm writing I need to get information for several packages. > Because "dpkg -s ..." is slow I thought about using grep/awk on > /var/lib/dpkg/status directly to get the information. I'm not sure if this > is a val

Re: Use /var/lib/dpkg/status directly

2004-02-26 Thread era+debian
On Thu, 26 Feb 2004 14:36:30 +0100, Markus Braun <[EMAIL PROTECTED]> posted to gmane.linux.debian.devel.mentors: > for a script I'm writing I need to get information for several packages. > Because "dpkg -s ..." is slow I thought about using grep/awk on > /var/lib/dpkg/status directly to get the

Re: Use /var/lib/dpkg/status directly

2004-02-26 Thread Frank Küster
Frank Lichtenheld <[EMAIL PROTECTED]> schrieb: > On Thu, Feb 26, 2004 at 02:36:30PM +0100, Markus Braun wrote: >> Hi, >> >> for a script I'm writing I need to get information for several packages. >> Because "dpkg -s ..." is slow I thought about using grep/awk on >> /var/lib/dpkg/status directly

Re: Use /var/lib/dpkg/status directly

2004-02-26 Thread Frank Küster
Frank Lichtenheld <[EMAIL PROTECTED]> schrieb: > On Thu, Feb 26, 2004 at 02:36:30PM +0100, Markus Braun wrote: >> Hi, >> >> for a script I'm writing I need to get information for several packages. >> Because "dpkg -s ..." is slow I thought about using grep/awk on >> /var/lib/dpkg/status directly

Re: Use /var/lib/dpkg/status directly

2004-02-26 Thread era+debian
On Thu, 26 Feb 2004 14:36:30 +0100, Markus Braun <[EMAIL PROTECTED]> posted to gmane.linux.debian.devel.mentors: > for a script I'm writing I need to get information for several packages. > Because "dpkg -s ..." is slow I thought about using grep/awk on > /var/lib/dpkg/status directly to get the

Re: Use /var/lib/dpkg/status directly

2004-02-26 Thread Frank Lichtenheld
On Thu, Feb 26, 2004 at 02:36:30PM +0100, Markus Braun wrote: > Hi, > > for a script I'm writing I need to get information for several packages. > Because "dpkg -s ..." is slow I thought about using grep/awk on > /var/lib/dpkg/status directly to get the information. I'm not sure if this > is a val

Use /var/lib/dpkg/status directly

2004-02-26 Thread Markus Braun
Hi, for a script I'm writing I need to get information for several packages. Because "dpkg -s ..." is slow I thought about using grep/awk on /var/lib/dpkg/status directly to get the information. I'm not sure if this is a valid possibility or if direct access to /var/lib/dpkg/status should be avoid