[Top][All Lists]

[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:

- 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/




reply via email to

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