From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 04:26:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20DB316A400 for ; Wed, 4 Jul 2007 04:26:30 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id E911613C465 for ; Wed, 4 Jul 2007 04:26:29 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 6C76E6854F081; Tue, 3 Jul 2007 21:29:03 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qcDlkmIqHE76; Tue, 3 Jul 2007 21:29:03 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 4A0D16854F080; Tue, 3 Jul 2007 21:29:03 -0700 (PDT) Date: Tue, 3 Jul 2007 21:29:03 -0700 From: Bill Campbell To: freebsd@celestial.com, freebsd-questions@freebsd.org Message-ID: <20070704042903.GB3594@ayn.mi.celestial.com> Mail-Followup-To: freebsd@celestial.com, freebsd-questions@freebsd.org References: <200707031344.l63DiEbo098703@dc.cis.okstate.edu> <20070703163610.GA6012@ayn.mi.celestial.com> <468b072c.U1AQhNvKe3aLmLhT%perryh@pluto.rain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <468b072c.U1AQhNvKe3aLmLhT%perryh@pluto.rain.com> User-Agent: Mutt/1.5.11 OpenPKG/2.5 Cc: Subject: Re: The worst error message in history belongs to... BIND9! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 04:26:30 -0000 On Tue, Jul 03, 2007, perryh@pluto.rain.com wrote: >> >> This is actually just the difference between sh and bash ... >> > >> >differences in, say, arithmetic handling and loops can sometimes >> >mean rewriting parts of shell scripts depending on whether it is >> >going to run in BSD or Linux. >> >> That's a major argument for doing things in python or perl as >> they are consistent across all platforms ... > >If one is going to require the installation of something that may >not be part of a base system, that something might as well be bash :) One of the reasons I started using perl almost 20 years ago was that it was cleaner and more consistent than tying a bunch of utilities together with the shell (not to mention only having to master one type of regular expressions :-). I now use python for the vast majority of my development work instead of perl as I find it much cleaner with better object oriented features. When I write shell scripts, I use a very limited set of features which are /bin/sh compatible. As soon as I start having to do anything much more than run a program against a list of files, I switch to python. Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``Intellectually, teachers fall between education theorists and bright cocker spaniels. (Probably closer to the education theorists. The AKC has been doing wonders with spaniels.) If you think I'm kidding look at the GREs for education majors, whose scores are the lowest of all fields, and remember that these are the smart ones.'' -- http://www.FredOnEverything.net