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: Thierry Volpiatto
Subject: Re: Why sh-set-shell insert a space after #!
Date: Fri, 17 Aug 2012 07:22:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Leo <address@hidden> writes:

> Hello all,
>
> If you M-x sh-set-shell in a buffer it inserts something like:
>
>   #! /bin/bash
>
> I am curious why a space after #!. I read this page:
> http://en.wikipedia.org/wiki/Shebang_(Unix). The newsgroup post by
> Dennis Ritchie also has a space. But most scripts I have seen do not. So
> I am curious ;)
Seems that this is wrong:
http://en.wikipedia.org/wiki/Shebang_%28Unix%29#Magic_number
http://www.in-ulm.de/~mascheck/various/shebang/#details


-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




reply via email to

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