From mboxrd@z Thu Jan 1 00:00:00 1970 From: mascheck@in-ulm.de (Sven Mascheck) Date: Sun, 16 Jan 2011 22:08:12 +0100 Subject: [TUHS] History of #! interpretation in Unix In-Reply-To: <20110116201745.GE3374@mercury.ccil.org> References: <20110116084330.GA27396@minnie.tuhs.org> <20110116095548.GC3374@mercury.ccil.org> <20110116132039.GA16484@lisa.in-ulm.de> <20110116171715.GD3374@mercury.ccil.org> <20110116191942.GA26424@lisa.in-ulm.de> <20110116201745.GE3374@mercury.ccil.org> Message-ID: <20110116210812.GB26424@lisa.in-ulm.de> John Cowan wrote: > Sven Mascheck scripsit: > > DMR might have known the csh-hack [...] > > Having two different people invent the shebang independently who (or what system) do you mean was the 2nd? > > > > > Modern shells will use /bin/sh to run scripts that *don't* have shebangs, [...] > No, I meant that bash does what ksh does: uses itself, [...] With /bin/sh you actually meant any shell calling "itself"? Otherwise I'm afraid, I have some difficulties following you. > IMHO the Posix sh definition should be extended so that all > shells claiming Posix-compliance should do shebangs. Shells themselves should implement it, not the kernel? There was a working group resolution to standardize #!, which didn't make it, http://www.opengroup.org/platform/resolutions/bwg2000-004.html you could chime in