gEDA-dev: geda naming convention

Dan McMahill dan at mcmahill.net
Tue Dec 11 22:01:41 EST 2007


Igor2 wrote:
> On Mon, 10 Dec 2007, DJ Delorie wrote:
> 
>>> OK; should it be /bin/sh or can it be /bin/bash (ksh compatible)?
>> It should be sh, and sh also supports functions.
> 
> good, then I need to read more about posix shells and I will use /bin/sh

just beware that /bin/sh on most (all?) linux systems is in fact bash. 
This fact I think helps encourage non-portable shell scripts.  My 
favorite one is where bash allows

if [ $x == yes] ; then

instead of only working with a single = like every other /bin/sh 
implementation.  I've had to fix that bug in shell scripts many times.



More information about the geda-dev mailing list