On Mon, Jul 14, 2008 at 06:34:19AM -0700, Joe Bill wrote:
> > Would you mind making the script compatible with /bin/sh?
> > Many thanks for the contribution.
> > Cheers,
> > Dejan
> 
> I can try.
> I suppose you are thinking of v7 sh rather than posix.
> 
> It'll have to wait 2-3 weeks though, as I'm tying to push my mysql instance 
> control out with it's OCF resource agent.
> 
> Got any good links to bash2sh guidelines or rules ?

There's a tool in Debian which finds bashisms:

checkbashisms(1)

It should find most of bash features. Otherwise, I don't know any
conversion guides. You should be able to find shell references on
Internet. If in doubt, please ask on the list.

Cheers,

Dejan
_______________________________________________________
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