bug-lilypond
[Top][All Lists]
Advanced

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

Re: lilypond-book is not flavor independent


From: Cláudia Soares
Subject: Re: lilypond-book is not flavor independent
Date: Thu, 26 Mar 2009 01:26:35 +0000


On 2009/03/25, at 12:10, Graham Percival wrote:

On Tue, Mar 24, 2009 at 08:41:04PM +0000, Claudia wrote:

#!/usr/bin/env python

in order to run in all today's unix systems, including Mac OS X.

Using this shebang is a great way to portability.

I believe that some systems use /bin/env ?  Or has this been
stabilized in LSB?

See previous discussions about this:
http://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00216.html
http://lists.gnu.org/archive/html/lilypond-devel/2008-07/msg00133.html
http://www.mail-archive.com/address@hidden/msg12052.html


Cheers,
- Graham


As far as I know, all major unixes have /usr/bin/env

Although we can never guarantee real portability with shebangs, the env binary is the most generic solution. If a system does have /bin/env probably the sysadmin already had the need to link it in /usr/bin for some other application.

One info source about shebangs can be found at http://www.in-ulm.de/ ~mascheck/various/shebang/

Cheers

Cláudia

|♪♫♪|♫♫|♪♫♪|







reply via email to

[Prev in Thread] Current Thread [Next in Thread]