Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bonnie.concordia.ca!clyde.concordia.ca!cidsv01.cid.aes.doe.CA!cidsv01.cid.aes.doe.CA!afsipmh From: afsipmh@cidsv01.cid.aes.doe.CA Newsgroups: comp.unix.shell Subject: the #! notation Message-ID: <1991Jan16.162705.580@cid.aes.doe.CA> Date: 16 Jan 91 16:27:05 GMT Sender: afsipmh@cid.aes.doe.CA (Patrick Hertel) Reply-To: afsipmh@cidsv01.cid.aes.doe.CA () Distribution: na Organization: Environment Canada Lines: 13 Could someone clear up something for me? - If i put #! /bin/csh on the first line of a script the c shell will run it. If I put #! /bin/sh the Bourne shell will etc. This is all well and good BUT does it assume that I am starting out in the c shell i.e. is the #! being interpreted by the c shell. What if my default were Bourne or ksh? -- Pat Hertel Canadian Meteorological Centre Analyst/Programmer 2121 N. Service Rd. phertel@cmc.aes.doe.ca Dorval,Quebec Environment Canada CANADA H9P1J3