From owner-freebsd-questions@freebsd.org Fri Apr 7 22:28:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 824D5D33BF5 for ; Fri, 7 Apr 2017 22:28:08 +0000 (UTC) (envelope-from rtomek@tau1.ceti.pl) Received: from mailout4.ceti.pl (mailout3.ceti.pl [62.121.128.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3627311B for ; Fri, 7 Apr 2017 22:28:06 +0000 (UTC) (envelope-from rtomek@tau1.ceti.pl) Received: from localhost (localhost [127.0.0.1]) by mailout4.ceti.pl (Postfix) with ESMTP id 7B5B5C0552F04; Sat, 8 Apr 2017 00:28:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mailout1.ceti.pl Received: from mailout4.ceti.pl ([62.121.128.43]) by localhost (mailout1.ceti.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CSNT7inX20Ec; Sat, 8 Apr 2017 00:27:53 +0200 (CEST) Received: from tau1.ceti.pl (tau.ceti.pl [62.121.128.11]) by mailout4.ceti.pl (Postfix) with ESMTP id 9D5C4C0552E23; Sat, 8 Apr 2017 00:27:53 +0200 (CEST) Received: by tau1.ceti.pl (Postfix, from userid 3727) id 81D1C9609A0; Sat, 8 Apr 2017 00:27:53 +0200 (CEST) Date: Sat, 8 Apr 2017 00:27:53 +0200 From: Tomasz Rola To: Karl Young Cc: freebsd-questions@freebsd.org, Tomasz Rola Subject: Re: Is there a database built into the base system Message-ID: <20170407222753.GB14064@tau1.ceti.pl> References: <58E696BD.6050503@gmail.com> <69607026-F68C-4D9D-A826-3EFE9ECE12AB@mac.com> <58E69E59.6020108@gmail.com> <20170406210516.c63644064eb99f7b60dbd8f4@sohara.org> <58E6AFC0.2080404@gmail.com> <20170407001101.GA5885@tau1.ceti.pl> <20170407210629.GR2787@mailboy.kipshouse.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170407210629.GR2787@mailboy.kipshouse.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 22:28:08 -0000 On Fri, Apr 07, 2017 at 02:06:29PM -0700, Karl Young wrote: [...] > Ah, I thought there was perl and python in base system. If not, then I > second the awk recommendation. Awk is powerful enough, and should be > fast enough for what OP has described. > > But I wouldn't suggest to learn awk from man page. "The Awk Programming > Language", written by the inventors of Awk, is a lovely book and even has > a whole chapter on databases. > > And, it's available for free. > > https://archive.org/stream/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language_djvu.txt Thanks for mentioning this. A book is real pearl of programming wisdom. Especially if one does not object against processing text based data. There is plenty of small and not so small examples in it, including relational database system written in awk - not an sql-based one, but something more integrated with awk. Well, I did not count on OP learning awk from man page :-). I counted he would start looking around for examples. We have internet nowadays... -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home ** ** directory. And then the C programmer became enlightened... ** ** ** ** Tomasz Rola mailto:tomasz_rola@bigfoot.com **