From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,8d7d7bfbd26df327,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,8d7d7bfbd26df327,start X-Google-Attributes: gidfee84,public From: Jim Crook Subject: tdb: a text database tool - also ANSI to/from K&R C conversion Date: 2000/03/28 Message-ID: <38DFFFAD.63876D21@ar.com.au>#1/1 X-Deja-AN: 603261931 Content-Transfer-Encoding: 7bit X-Accept-Language: en Followup-To: comp.unix.programmer Content-Type: text/plain; charset=us-ascii X-Trace: 28 Mar 2000 10:30:19 +1000, dialup24.ar.com.au MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.unix.programmer A long time ago, I wrote a program I call tdb, for "text database". It allows one to setup non relational databases consisting of text data and metadata files, and then access the data using a query language. The language itself is of less interest to me than the data access methodology. If you're interested, have a look; I'd like to hear any constructive feedback. The C source code, as well as some documentation, examples, and a reasonably comprehensive test suite can be found on my web page, http://www.ar.com.au/~crook . There's a README file there, but briefly, here's what you'll need to do: 1. A. Download the source and compile it. - or - B. Download one of the executables I've already built. 2. Download the documentation, test files and examples. 3. Try it. I have built executables for the following platforms: AIX_4.3_rs6000, HPUX_10.01_S800 (also works on 700, 10.20 and 11.00), DEC_UNIX_4.0_alpha, SunOS_5.5_sparc, Linux_5.1_Intel and ULTRIX_4.4_risc. In the process of all this, I wrote a couple of shell scripts that convert my C code[*] from ANSI C to K&R C (or vice versa). I've found these to be particularly useful on HP-UX systems (which is supplied with a K&R C compiler) - especially before gcc came along. For the security conscious, root access is _not_ required. ----------------------------------------- Jim Crook Sydney, Australia modified e-mail address: crooke@ar.com.au my real e-mail address has no 'e' ----------------------------------------- [*] These scripts are based assumptions about the way I write C, if you violate them, you'll have to modify the scripts.