The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Etymology of shebang
@ 2017-04-21 14:48 Ron Natalie
  2017-04-21 15:07 ` Clem Cole
  0 siblings, 1 reply; 2+ messages in thread
From: Ron Natalie @ 2017-04-21 14:48 UTC (permalink / raw)


Oldest actual use in a post I can find is 1997 

 

I did find something I had completely forgot about.   The csh used to (probably still does?) differentiate between Bourne shell scripts and csh scripts by looking for #.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170421/6ba71aa7/attachment.html>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [TUHS] Etymology of shebang
  2017-04-21 14:48 [TUHS] Etymology of shebang Ron Natalie
@ 2017-04-21 15:07 ` Clem Cole
  0 siblings, 0 replies; 2+ messages in thread
From: Clem Cole @ 2017-04-21 15:07 UTC (permalink / raw)


Sorry, yes -- which is why I think the exec hack first show up in the BSD
kernel.  It was an efficiency trick on the PDP-11's.  The idea was to catch
the change of shell as soon as possible.

On Fri, Apr 21, 2017 at 10:48 AM, Ron Natalie <ron at ronnatalie.com> wrote:

> Oldest actual use in a post I can find is 1997
>
>
>
> *I did find something I had completely forgot about.   The csh used to
> (probably still does?) differentiate between Bourne shell scripts and csh
> scripts by looking for #.*
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170421/ab35ba85/attachment.html>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-21 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21 14:48 [TUHS] Etymology of shebang Ron Natalie
2017-04-21 15:07 ` Clem Cole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).