emacs-devel
[Top][All Lists]
Advanced

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

Re: Why sh-set-shell insert a space after #!


From: Leo
Subject: Re: Why sh-set-shell insert a space after #!
Date: Fri, 17 Aug 2012 23:50:29 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (OS X 10.8)

On 2012-08-17 15:18 +0800, Stephen J. Turnbull wrote:
> IIRC, POSIX allows but doesn't require the space.  However, some
> historical mostly-compatible shells had problems if there was no
> space.  Since it never hurts with fully conforming shells, and
> sometimes helps, it's a definite portability win.  (AFAIK there was no
> particular correlation between this kind of non-conformance and other,
> more important, non-conformance.)

>From my reading of the two links, separation #! and the path with a
space is abnormal and evidenced by all scripts I can find. So I think
the better default for executable-prefix is "#!", not "#! ".

Leo



reply via email to

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