On Thu, 26 Apr 2007, Dejan Muhamedagic wrote: > It is not clear which standard should be followed. I think that > there's also something like POSIX shell, but no idea how > widespread.
"heartbeat" is a GNU-based project, both in licence and in much of its supporting technology. So I'd suggest that the GNU Coding Standards (GCS) are the best starting point: http://www.gnu.org/prep/standards/ for guiding these sorts of discussion. For this particular question see its "7.2.2 Utilities in Makefiles": "Write the Makefile commands (and any shell scripts, such as configure) to run in sh, not in csh. Don't use any special features of ksh or bash." That's good, clean, clear, simple advice from GNU. I'd suggest it should be our "99%" guide. (I recommend at least a skim read of the whole of GCS; it gives a decent mind-set for portable programming.) Hope that helps! Best wishes. -- : 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: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/