Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!uunet!ateng!chip From: chip@ateng.com (Chip Salzenberg) Newsgroups: comp.sources.d Subject: Re: Perl scripts on systems without "#!" Message-ID: <256B2530.23386@ateng.com> Date: 22 Nov 89 23:01:01 GMT References: <255C7F44.171@ateng.com> <5935@cbnewsh.ATT.COM> <2568811E.264@ateng.com> <7075@ficc.uu.net> Organization: A T Engineering, Tampa, FL Lines: 13 According to peter@ficc.uu.net (Peter da Silva): >If you have the hashbang program, and !alias shell hashbang! in your >.cshrc, then you can in addition say: > > A script with "#!/bin/sh" as the first line > is always run by the bourne shell. Which is to say, "#!/bin/sh" is not portable, since you cannot count on _every_ user having "alias shell hashbang" in their .cshrc files. -- You may redistribute this article only to those who may freely do likewise. Chip Salzenberg at A T Engineering; or "Did I ever tell you the Jim Gladding story about the binoculars?"