From owner-freebsd-questions@FreeBSD.ORG Tue Jul 3 13:54:22 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 81F8616A421 for ; Tue, 3 Jul 2007 13:54:22 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 5759313C465 for ; Tue, 3 Jul 2007 13:54:22 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 5002E51931 for ; Tue, 3 Jul 2007 09:54:21 -0400 (EDT) Date: Tue, 3 Jul 2007 14:54:18 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070703145418.330a044a@gumby.homeunix.com.> In-Reply-To: <200707031344.l63DiEbo098703@dc.cis.okstate.edu> References: <200707031344.l63DiEbo098703@dc.cis.okstate.edu> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 13:54:22 -0000 On Tue, 03 Jul 2007 08:44:14 -0500 Martin McCormick wrote: > Paul Chvostek writes: > > This is actually just the difference between sh and bash. You'll > > see the latter error if you type `a = 5` in bash in any OS. It > > just so happens that most Linux distributions don't have a real sh: > > I kind of thought that was the real issue. While > something like this is maybe slightly annoying at times, the > 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 why there is a POSIX standard, and why many people think it's bad idea to get into the habit of using bash specific scripts.