From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21165 invoked from network); 15 Nov 2005 11:10:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_NUMERIC_HELO autolearn=no version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 15 Nov 2005 11:10:26 -0000 Received: (qmail 45544 invoked from network); 15 Nov 2005 11:10:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 Nov 2005 11:10:20 -0000 Received: (qmail 4826 invoked by alias); 15 Nov 2005 11:10:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9680 Received: (qmail 4816 invoked from network); 15 Nov 2005 11:10:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 15 Nov 2005 11:10:13 -0000 Received: (qmail 44602 invoked from network); 15 Nov 2005 11:10:12 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 15 Nov 2005 11:10:11 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ebyft-0001YL-HX for zsh-users@sunsite.dk; Tue, 15 Nov 2005 12:08:29 +0100 Received: from 212.84.119.241 ([212.84.119.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Nov 2005 12:08:29 +0100 Received: from david by 212.84.119.241 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Nov 2005 12:08:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Re: Using a shell database Date: Tue, 15 Nov 2005 11:05:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 212.84.119.241 X-Newsreader: Forte Free Agent 2.0/32.652 Sender: news On Mon, 14 Nov 2005 11:40:26 -0500, wrote: >On 11/14/05, zzapper wrote: > >> I have shell utility which stores information (between sessions) in a series of text files. I now >> want to do something more complicated, and realise I should be considering using a database. >> I then ran smack into a steep learning curve. >> Is there a shell accessible database? gdbm? >> Pointers please, examples if possible > >You don't want to bring databases into your shell script. You want to >begin to use a tool that's better-suited for the job, like Perl, >Python or Ruby. Thanx for both replies, it would seem my requirement has crossed the invisible shell/application boundary.I realise now that shells don't have a database I hoped there might be a real simple "pairs" application. I did have a phase of writing all my "scripts" in Perl, but noticed that they were much slower than their equivalent shell scripts. Any comments from the zsh maestros? -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/