Date: Tue, 3 Jul 2007 14:54:18 +0100 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: The worst error message in history belongs to... BIND9! Message-ID: <20070703145418.330a044a@gumby.homeunix.com.> In-Reply-To: <200707031344.l63DiEbo098703@dc.cis.okstate.edu> References: <200707031344.l63DiEbo098703@dc.cis.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 03 Jul 2007 08:44:14 -0500 Martin McCormick <martin@dc.cis.okstate.edu> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070703145418.330a044a>