"Basile Starynkevitch [news]" <basile-news / starynkevitch.net> writes:

> On 2005-05-18, Basile Starynkevitch [news] <basile-news / starynkevitch.net> wrote:
>> Actually I'm just trying to code in a quick and dirty way a ruby
>> script dumping into a textual form a (rather small) GDBM file, whoses
>> keys are all alphanumeric (and data are arbitrary binary strings). So
>> far, I've managed to code the following script which seems to work.
>
> Thanks to all who replied. Yes, I was missing the cumfort of LISP READ
> ability.
>
> Any by the way, I coded in C the equivalent of what I wanted to code
> in Ruby. Yo can download it here
> http://starynkevitch.net/Basile/gdbmtext.c and it is a tiny utility
> dumping & loading GDBM associative files into and from textual files.
> I am quite surprise that Debian don"t seems to have such (or an
> equivalent) utility (to dump & restore GDBM files into textual
> formats)

I'm not sure about GDBM, but for Berkeley DB, there is dbdump IIRC.

> Basile STARYNKEVITCH         http://starynkevitch.net/Basile/ 
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org