[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: geda naming convention



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.



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev