From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-02 09:26:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!diablo.cs.uofs.edu!info.cs.scranton.edu!triangle.cs.uofs.edu!bill From: bill@triangle.cs.uofs.edu (Bill Gunshannon) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 2 Jan 2002 17:23:59 GMT Organization: University of Scranton Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2D48CE.FA4FF25A@fsi.net> <3C2E506A.152D03E0@fsi.net> <00A07421.161CA0C9@SSRL04.SLAC.STANFORD.EDU> <3C2E9074.4EBD2C31@bartek.dontspamme.net> <3C33386C.4E7571EB@bartek.dontspamme.net> Reply-To: bill@cs.scranton.edu NNTP-Posting-Host: triangle.cs.uofs.edu X-Trace: info.cs.uofs.edu 1009992239 31481 134.198.172.101 (2 Jan 2002 17:23:59 GMT) X-Complaints-To: news@cs.uofs.edu NNTP-Posting-Date: 2 Jan 2002 17:23:59 GMT X-Newsreader: xrn 9.01 Xref: archiver1.google.com comp.os.vms:57790 alt.sys.pdp10:8974 comp.sys.dec:10771 In article <3C33386C.4E7571EB@bartek.dontspamme.net>, Arthur Krewat writes: |> Bob Koehler wrote: |> > |> > In article <3C2E9074.4EBD2C31@bartek.dontspamme.net>, Arthur Krewat writes: |> > > |> > > That's what the "#!/bin/sh" is for in the beginning of a shell script. |> > > I can make sure that I have the right shell. |> > |> > Except that most of us would expect /bin/sh to be Bourne shell, and |> > sometimes it's not. No, most would assume that if the script contains "#!/bin/sh" it will be compatable with the original Bourne Shell. This would, of course, mean it would work on ksh, pdksh, ash, zsh, bash, etc. as all of the known sh clones are supersets and support all of the features of the original sh. If you use features not supported by the original sh you should but the actual name of the command you wrote the script for. (as is done for things like perl and tcl which work the same way, but have no similaritt to the other shells.) |> |> True, especially w/Linux - but I stay away from systems where /bin/sh is |> not the Bourne shell :) Then what does Linux have to do with it?? sh is not the Bourne Shell under Linux, it is BASH. The original Bourne Shell was never released to the public and thus only show up in officially licensed versions of Unix that have paid for it. All others use one of the clones. It does make a difference. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include