Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA7348 ; Mon, 18 Jan 93 10:52:27 EST Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!news.byu.edu!ux1!fcom.cc.utah.edu!cs.weber.edu!terry From: terry@cs.weber.edu (A Wizard of Earth C) Subject: Re: why isn't #! /bin/sh working for me on 386BSD? Message-ID: <1993Jan20.210937.11024@fcom.cc.utah.edu> Keywords: 386bsd Sender: news@fcom.cc.utah.edu Organization: Weber State University (Ogden, UT) References: <1jhmnkINNl5v@usenet.INS.CWRU.Edu> <1993Jan19.215030.22775@cunews.carleton.ca> Date: Wed, 20 Jan 93 21:09:37 GMT Lines: 35 In article <1993Jan19.215030.22775@cunews.carleton.ca> watpod77@alfred.carleton.ca (Andrew Cornwall) writes: >In article <1jhmnkINNl5v@usenet.INS.CWRU.Edu> au141@cleveland.Freenet.Edu (Amber M. Spillers) writes: >> correct me if I am wrong butthe line >> >>#! /bin/sh >> >> at the beginning of a shell script (the first line) is suposed to >>invoke the SH shell and execute the script under it right? >>ksh and it refuses to invoke the correct shell to execute my scripts. :( >> >> well for me it does not seem to do that. I am using csh or bash ot >>ksh and it refuses to invoke the correct shell to execute my scripts. :( > >The same is true for tcsh... I don't know what part of BSD invokes the >shell specified in a script, but it ain't getting done. This is why >you see "} missing" when you run nroff under a shell other than >/bin/sh. Does anyone know how to fix it? 'Cos I don't... :-( It's in kern_execve.c. It's fixed by the patchkit. Terry Lambert terry@icarus.weber.edu terry_lambert@novell.com --- Any opinions in this posting are my own and not those of my present or previous employers. -- ------------------------------------------------------------------------------- "I have an 8 user poetic license" - me Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial -------------------------------------------------------------------------------