emacs-devel
[Top][All Lists]
Advanced

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

Re: Sesquicolon -- Alternative to Shebang


From: Miles Bader
Subject: Re: Sesquicolon -- Alternative to Shebang
Date: Sun, 8 Sep 2002 07:38:19 -0400
User-agent: Mutt/1.3.28i

On Sun, Sep 08, 2002 at 12:39:48AM -0600, John H Swaby wrote:
> I see no reason to modify Emacs.  The sesquicolon, :;, does the job,
> essentially, of the shebang, #!.  Permit me to elaborate.
...
> If the first two characters of the file are not the shebang; but the
> first character is a number sign, #, then the C Shell, csh, will be
> invoked to interpret the script.
>
> If neither of the above, then the Bourne Shell, sh, will be invoked as
> the interpreter (keeping in mind that on some systems either the Korn
> Shell, ksh, or the Bourne Again Shell, bash, will stand in for the
> Bourne Shell).

My impression is that not all unix-like OSes can be relied upon do all the
above, and that `#!' is more consistently implemented.  Morever, an explicit
`#!' is so widespread that it's going to be much more familiar to users (you
may know all the above arcana, but many people don't).

In any case, `#!' is already implemented, and it's so trivial that there's no
reason to _not_ do it.

-Miles
-- 
P.S.  All information contained in the above letter is false,
      for reasons of military security.




reply via email to

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