Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!edhall@rand-unix From: edhall%rand-unix@sri-unix.UUCP Newsgroups: net.unix Subject: Re: Re: csh misconceptions Message-ID: <16956@sri-arpa.UUCP> Date: Sun, 26-Feb-84 16:00:00 EST Article-I.D.: sri-arpa.16956 Posted: Sun Feb 26 16:00:00 1984 Date-Received: Fri, 2-Mar-84 13:24:22 EST Lines: 22 From: Ed_HallOne point that Doug hinted at but didn't comment on explicitly: All other things being equal, it is more efficient to use the `#!' construct. One minor clarification: the `#!' passes the file name to the shell specified as an argument, not as the standard input. One argument is allowed to preceed this, and is whitespace-separated from the shell path. Thus: #! /bin/csh -f will, if at the top of `/bin/frebus', cause the command `frebus' to behave as if: /bin/csh -f /bin/frebus was the actual command. -Ed Hall edhall@rand-unix (ARPA) decvax!randvax!edhall (UUCP)