From owner-freebsd-questions@freebsd.org Fri Apr 7 06:53:32 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 6BB35D3294A for ; Fri, 7 Apr 2017 06:53:32 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp3.irishbroadband.ie (smtp4.irishbroadband.ie [62.231.32.6]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B13FECC for ; Fri, 7 Apr 2017 06:53:30 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [89.127.62.20] (helo=smtp.lan.sohara.org) by smtp3.irishbroadband.ie with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1cwNlq-0001uh-RE; Fri, 07 Apr 2017 07:53:22 +0100 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.88 (FreeBSD)) (envelope-from ) id 1cwNmQ-000F0I-Cq; Fri, 07 Apr 2017 06:53:58 +0000 Date: Fri, 7 Apr 2017 07:52:58 +0100 From: Steve O'Hara-Smith To: Andrea Venturoli Cc: freebsd-questions@freebsd.org, Ernie Luzar Subject: Re: Is there a database built into the base system Message-Id: <20170407075258.5f0712fcd39d70373e9a6d37@sohara.org> In-Reply-To: References: <58E696BD.6050503@gmail.com> <69607026-F68C-4D9D-A826-3EFE9ECE12AB@mac.com> <58E69E59.6020108@gmail.com> <20170406210516.c63644064eb99f7b60dbd8f4@sohara.org> <58E6AFC0.2080404@gmail.com> <20170406210540.GO2787@mailboy.kipshouse.net> <20170407064340.a8354c6e21988c125c02c06a@sohara.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 06:53:32 -0000 On Fri, 7 Apr 2017 08:21:16 +0200 Andrea Venturoli wrote: > On 04/07/17 07:43, Steve O'Hara-Smith wrote: > > On Thu, 6 Apr 2017 14:05:41 -0700 > > Karl Young wrote: > > > >> I'd suggest, Python, Perl, TCL, Ruby, ... anything but csh (or bash) > >> for a job like this. > > > > Trouble with that is the OP wanted something in the base system > > and the only scripting languages in base are the shells and awk. Indeed. I think the best options within the base are awk or C/C++ with db (btree), although shell supported by grep, sed, sort et al. is possible - after all there's a complete SQL implementation written that way in shql. -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/