Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!hplabs!sri-unix!lcc.bob@ucla-locus From: lcc.bob%ucla-locus@sri-unix.UUCP Newsgroups: net.unix Subject: Re: Re: csh misconceptions Message-ID: <17358@sri-arpa.UUCP> Date: Fri, 9-Mar-84 13:11:15 EST Article-I.D.: sri-arpa.17358 Posted: Fri Mar 9 13:11:15 1984 Date-Received: Tue, 13-Mar-84 08:08:24 EST Lines: 16 From: Bob EnglishFace it, the only way to specify IN THE SCRIPT which interpreter you want is to use "#! prog" on a BSD system. Any other method depends on the vagaries of the shell the user (NOT the programmer) is running, and is out of the programmer's control. If shell scripts always depend on the user's shell for correctness, there is no way to write a reliable shell script and still allow user specifiable shells. Period. And the failure to provide some mechanism to do so is a serious shortcoming in standard Unix. --bob-- P.S. The mechanism to provide the #! interpretation gobbles up about 50 lines of code in 4.1bsd.