From mboxrd@z Thu Jan 1 00:00:00 1970 From: cowan@mercury.ccil.org (John Cowan) Date: Sun, 16 Jan 2011 12:17:15 -0500 Subject: [TUHS] History of #! interpretation in Unix In-Reply-To: <20110116132039.GA16484@lisa.in-ulm.de> References: <20110116084330.GA27396@minnie.tuhs.org> <20110116095548.GC3374@mercury.ccil.org> <20110116132039.GA16484@lisa.in-ulm.de> Message-ID: <20110116171715.GD3374@mercury.ccil.org> Sven Mascheck scripsit: > As you mention "shebangs began .. as csh-only hack": > I still wonder if one may call the BSD csh-hack as origin, > because #! might have been developed independently at Bell Labs. No, that would be too much of a coincidence to choose exactly the same characters. There has to be a single point of origin, from which it spread by stimulus diffusion (you hear there are telescopes, you know they use lenses, you build your own telescope). > I thought sh-like shells in general try to interprete scripts themselves > upon an ENOEXEC. Do you know certain shells which actually call "/bin/sh"? Yes, seemingly bash does that too. Bogus. -- John Cowan cowan at ccil.org http://ccil.org/~cowan The whole of Gaul is quartered into three halves. --Julius Caesar