*BSD News Article 91538


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.mrtc.org!news.he.net!uwm.edu!newsfeeds.sol.net!europa.clark.net!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!IN-Berlin.DE!fub!mind.de!nostromo.in-berlin.de!ripley
From: ripley@nostromo.in-berlin.de (H. Eckert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: A simple csh script question
Date: 18 Mar 1997 08:50:25 GMT
Organization: Private access site (FreeBSD 2.1-R), Berlin, Germany, Europe
Lines: 18
Message-ID: <slrn5islqh.9sl.ripley@nortobor.nostromo.in-berlin.de>
References: <332D9485.27FD@inJapan.net>
NNTP-Posting-Host: nortobor.nostromo.in-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: slrn (0.8.8.2 UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37401

doug@inJapan.net (Doug Lerner):
> Can somebody answer a simple csh script question for me? In the
> 
> #!/bin/sh
        ^^^^ ?
> id=$1

This should be "set id=$1".  If you make the scripting shell a csh
it will work.

Greetings,
				Ripley
-- 
H. Eckert, 10777 Berlin, Germany
ISO 8859-1: Ä=Ae, Ö=Oe, Ü=Ue, ä=ae, ö=oe, ü=ue, ß=sz.
"(Technobabbel)" (Jetrel) - "Müssen wir uns diesen Schwachsinn wirklich
anhören?" (Neelix)