delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/01/17:58:06

From: jqb AT netcom DOT com (Jim Balter)
Subject: Re: what did I miss? #!.... doesn't work in bash
1 Nov 1996 17:58:06 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199611020032.QAA11952.cygnus.gnu-win32@netcom23.netcom.com>
Mime-Version: 1.0
Original-To: GWhaley AT crossprod DOT co DOT uk (Graham Whaley)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <327A3119@charlotte.crossprod.co.uk> from "Graham Whaley" at Nov 1, 96 04:25:00 pm
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Graham Whaley wrote:
> 
> 
>   Err, I thought that the decoding of a '#!' line had moved into the kernel 
> on *IX, and was not a bash/shell/user level thing?.  You'll have to excuse 
> me if I'm wrong, I've not really delved into ther kernel for a number of 
> years.

Correct.  (Although you will still find #! handling code in the shells.)

>   If this were the case though then I guess it's down to the cygwin.dll exec 
> functions to do the test and execute.

One would think so.

>   Just my thoughts (and I'd be interested if anybody has an AUTHORITATIVE 
> answer to this),

Well, I did do unix kernel development for 8 years, and added exec. #! handling
to a couple of kernels.
-- 
<J Q B>

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019