Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!hao!hplabs!sri-unix!gwyn@brl-vld From: gwyn%brl-vld@sri-unix.UUCP Newsgroups: net.unix Subject: Re: Shell programming style -- a plea for better shell scripts Message-ID: <16954@sri-arpa.UUCP> Date: Sat, 3-Mar-84 00:36:43 EST Article-I.D.: sri-arpa.16954 Posted: Sat Mar 3 00:36:43 1984 Date-Received: Fri, 2-Mar-84 15:05:17 EST Lines: 13 From: Doug Gwyn (VLD/VMB)The white space after #! is not mandatory, it is optional. If a shell script is going to run a command such as an interactive subshell where it is important that the user's original PATH be in effect, then the script should run that command with PATH temporarily restored. This is standard shell programming practice. All you info-unix subscribers who are now totally confused, go back to my original posting on the subject and ignore the ensuing debate. The advice I gave is correct and is based on the approach used at BRL to cope with a variety of different UNIX command environments.