lilypond-devel
[Top][All Lists]
Advanced

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

Re: Add missing shebang line in MacOSX instructions. (issue 6300118)


From: David Kastrup
Subject: Re: Add missing shebang line in MacOSX instructions. (issue 6300118)
Date: Fri, 22 Jun 2012 10:32:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

address@hidden writes:

> I thought that bash doesn't need the shebang in some cases?  at least, I
> could have sworn that I never added the shebang in this case?
>
> Anyway, LGTM and you can push it directly to staging if you want.
>
> http://codereview.appspot.com/6300118/

For shell scripts, it is usually sufficient to add

:

in the first line.  This is enough to tell other shells (like the C
shell) that it should better not try interpreting this shell script
themselves.

However, without a shebang line, you can only execute such scripts while
being in a shell or shell script.  It won't work when called via the
exec system call.

-- 
David Kastrup




reply via email to

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