From: "Peña, Botp" Date: 2005-04-13T15:49:52+09:00 Subject: Re: [ANN] KirbyBase 2.1 Jamey Cribbs [mailto:jcribbs@twmi.rr.com] wrote: #Subject: [ANN] KirbyBase 2.1 # Hi Jamey, I find kbase great, but do you have exporting methods? eg, i can see that you can import csv files, but how do i convert/export it back to csv? i plan to use something like k_open("csvfile",:COMMA-DELIMITED) do |f| # f now is kirbybase, so execute db/select commands at will :-) # end # after exit, csvfile is still comma delimited k_open("/etc/passwd",:COLON-DELIMITED) do |f| # f now is kirbybase, so execute db/select commands at will # end # after exit, /etc/passwd file is still colon-delimited file k_open("/etc/postfix/main.conf",:EQUAL-DELIMITED) do |f| # f now is kirbybase, so execute db/select commands at will # end # after exit /etc/postfix/main.cf is still the usual config file # of course, i treat config files as two columns only Of course, you see where i am going. I want to treat everything as plain kirbybase (including other dbs)... thanks and kind regards -botp