On Sun, 17 Aug 2008, Lars Marowsky-Bree wrote:

> On 2008-08-13T10:24:14, Simon Horman <[EMAIL PROTECTED]> wrote:
>
> > Sorry, I've poked around a bit further and I no longer think that
> > local is POSIX.
>
> People should simply chose whatever language it is they want to write
> their scripts in and declare that in the #! line, be it bash, sh, ksh,
> csh, python, Perl. Problem _solved_. ;-)

Sounds OK with me.  Thanks, Lars.

o  If a variant of "sh" (bash, ksh, etc.) the "#!/bin/xxx" should be
   an accurate reflection;

o  Within a sh-related support library (e.g. ".ocf-shellfuncs.in") we
   should keep to pure Bourne;

o  Be aware that several commercial OSes may not have certain languages or
   shell dialects (for instance, Solaris still doesn't natively have
   "python").  And for evolving languages the available version may not be
   the lastest (for example Solaris-10:perl 5.8.4; Sol-8:"5.005_03").

Hope that helps.



-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:  UNIX Team Leader                         Durham University     :
:                                           South Road            :
:  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to