Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jul 2007 18:00:50 +0100
From:      Tom Evans <>
Subject:   Re: The worst error message in history belongs to... BIND9!
Message-ID:  <1183482050.1213.3.camel@localhost>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2007-07-03 at 09:36 -0700, Bill Campbell wrote:
> On Tue, Jul 03, 2007, 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 =3D 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 a major argument for doing things in python or perl as
> they are consistent across all platforms.  While perl has a well
> deserved reputation for looking like modem noise, it's certainly
> no worse than shell scripts.
> Pure /bin/sh is very limited in its constructs compared to other
> shells such as ksh, bash, etc.
> Bill
> --
> INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Software LLC
> URL:  PO Box 820; 6641 E. Mercer Way
> FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1=
> Marijuana will be legal some day, because the many law students
> who now smoke pot will someday become congressmen and legalize
> it in order to protect themselves.
> 		-- Lenny Bruce

sh should always be sh compatible on every platform (surprisingly). It
may even be defined in one of the POSIX standards. This is why you write
shell scripts in sh, even if you prefer csh, ksh or bash as your actual


Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

Version: GnuPG v1.4.7 (FreeBSD)



Want to link to this message? Use this URL: <>