linux-l: DBM-format
gunni at mathematik.hu-berlin.de
gunni at mathematik.hu-berlin.de
Fr Jan 26 18:32:14 CET 2001
On Fri, 26 Jan 2001, Cordelia Sommhammer wrote:
> Moin,
>
>
> Nun ja, egal, jetzt waere die Frage:
> kennt jemand hier in der Liste irgendeien Moeglichkeit, den Inhalt eines
> dbm-files sinnvoll zu dumpen, wenn man die Struktur der Datenbank und
> die Namen der keys etc. (Bin wirklich keine Datenbankspezialistin, heisst das so?) nicht kennt?
>
> Alternativ waere auch schon der Hinweis auf eine Spezifikation des
> dbm-Formates recht sinnvoll, damit ich erstmal ueberhaupt weiss, mit was
> ich es genau zu tun hab.
>
In php gibt es halt 'ne ganze Menge von dbm-functions.
Hast Du die schonmal probiert?
Es gibt: (PHP-Manual)
Table of Contents
dbmopen -- opens a dbm database
dbmclose -- closes a dbm database
dbmexists -- tells if a value exists for a key in a dbm database
dbmfetch -- fetches a value for a key from a dbm database
dbminsert -- inserts a value for a key in a dbm database
dbmreplace -- replaces the value for a key in a dbm database
dbmdelete -- deletes the value for a key from a dbm database
dbmfirstkey -- retrieves the first key from a dbm database
dbmnextkey -- retrieves the next key from a dbm database
dblist -- describes the dbm-compatible library being used
Vielleicht bringen die es ja, obwohl w-agora es nicht schafft.
dblist gibt bei mir aus:
This is GDBM version 1.8.0, as of May 19, 1999.
Hast Du eines von Deinen dbm-Files zum Testen irgendwo im Netz
oder sind die top-secret?
Guntram
Mehr Informationen über die Mailingliste linux-l