[ANN] an utility for dumping/restoring GDBM file in textual formats

From: Basile Starynkevitch [news] (basile-news_at_starynkevitch.net)
Date: 05/19/05

  • Next message: snnn: "cpp fails sanity check"
    Date: Thu, 19 May 2005 21:12:19 +0000 (UTC)
    
    

    Dear All,

    I just released (opensource GPL license) a small utility which dumps &
    restores a GDBM associative file in textual format (with each datum
    represented using hex-encoding for unprintable or funny characters,
    like in URLs eg %0a for character newline (0xa hex, 10 decimal), etc...

    The dumped keys are sorted, hence the dump text file don't vary much
    when only a key is added, and the dump file don't depend upon the
    order of insertion.

    You can get it on http://starynkevitch.net/Basile/gdbmtext.c

    It is quite strange that Debian distribution don't contain such a
    simple tool. (But FWIW, the Berkeley DB has similar stuff).

    If you find it useful, please tell me. I was quite surprised to not
    find something similar quite easily. Maybe the GDBM library is almost
    not used?

    Regards.

    -- 
    Basile STARYNKEVITCH         http://starynkevitch.net/Basile/ 
    email: basile<at>starynkevitch<dot>net 
    aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
    8, rue de la Faïencerie, 92340 Bourg La Reine, France
    

  • Next message: snnn: "cpp fails sanity check"