*BSD News Article 10119


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA7231 ; Mon, 18 Jan 93 10:50:24 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!torn!nott!cunews!watpod77
From: watpod77@alfred.carleton.ca (Andrew Cornwall)
Subject: Re: why isn't #! /bin/sh working for me on 386BSD?
Message-ID: <1993Jan19.215030.22775@cunews.carleton.ca>
Keywords: 386bsd
Sender: news@cunews.carleton.ca (News Administrator)
Organization: Carleton University, Ottawa, Canada
References: <1jhmnkINNl5v@usenet.INS.CWRU.Edu>
Date: Tue, 19 Jan 1993 21:50:30 GMT
Lines: 25

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... :-(

          Andrew Jr.
---
Andrew Cornwall
watpod77@alfred.ccs.carleton.ca