Date: Thu, 11 Dec 2014 23:58:02 -0600 From: Alex Stangl <alex@stangl.us> To: freebsd-questions@freebsd.org Subject: Re: Maybe somebody knows a good Bourne Shell book or tutorial? Message-ID: <20141212055802.GB45115@scout.stangl.us> In-Reply-To: <20141212062631.a3d891fe.freebsd@edvax.de> References: <54892F4C.1030906@rawbw.com> <20141211200241.GA43214@scout.stangl.us> <548A1095.6010301@radel.com> <20141212062631.a3d891fe.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 12, 2014 at 06:26:31AM +0100, Polytropon wrote: > Additionally, it's worth knowing the _difference_ between > the Bourne Shell and the BASH extensions, because those > two shells aren't the same, even though there are people > who seem to think this. When the "dash" shell enters the > stage, the fun is about to start. ;-) Many of us prefer to just target the POSIX standard. This way our scripts should just work on any POSIX-compliant shell. Oftentimes it seems like people use BASH-isms not because there is any requirement to do so, or any performance reason, but simply because they always use BASH and it just seems natural to them to use all of its scripting language. For those of us sticking with POSIX, I'm not sure what the value of looking at BASH extensions is, except possibly if needing to translate a script littered with BASH-isms. If dash helps people see the value of sticking to standards, that seems like a good thing. Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141212055802.GB45115>