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

Re: dselect lesen koennen



Hallo Waldemar,

* Waldemar Brodkorb <waldemar@thinknow.de> [12-12-01 13:52]:

>> Fuer sowas gibt es dpkg-awk.
> 
> Kannte ich noch nicht, und ist auch im Basissystem nicht dabei.
> Welchen Vorteil bringt dieses Skript? Bessere Schnittstelle zwischen
> Mensch und Maschine?

Sozusagen.

dpkg-awk - Utility to read a dpkg style db file

DESCRIPTION
       dpkg-awk Parses a dpkg status file(or other simularly for­
       mated file) and outputs the resulting records.  It can use
       regex  on  the field values to limit the returned records,
       and it can also  be  told  which  fields  to  output.   As
       another option, it can sort the matched fields.

> Also ich finde die awk Methode ganz praktisch und generischer.

dpkg-awk verwendet ja auch awk.

Janto

-- 
Janto Trappe    Germany     /* rapelcgrq znvy cersreerq! */
GnuPG-Key:      http://www.sylence.de/gpgkey.asc
Key ID:         0x8C53625F
Fingerprint:    35D7 8CC0 3DAC 90CD B26F B628 C3AC 1AC5 8C53 625F

Attachment: pgpsiBL1o9z3o.pgp
Description: PGP signature


Reply to: