Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 1998 10:06:00 -0800
From:      Studded <Studded@san.rr.com>
To:        NewtronBoy@aol.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problem with C Shell Scripts
Message-ID:  <34D4B988.C602DECF@san.rr.com>
References:  <3c25dd17.34d49ee5@aol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
NewtronBoy@aol.com wrote:

> I'm having a problem with executing C Shell Scripts in the C Shell.  It's not
> the syntax of the code, it's the shell itself.  Instead of reading valid C
> Shell Scripts like a C Shell does, it reads it like a Bourne or Korn Shell
> Script.
> 
> I even put in #!/bin/csh in the first line to make sure that C Shell will
> execute it.

	A few questions. What shell are you using when you execute the script?
Have you tried executing it like this: /bin/csh scriptname.csh ?  And
what exact errors, etc. are you getting that indicate to you that it's
being executed in other than C shell?

Doug

--
*** Proud operator, designer and maintainer of the world's largest
*** Internet Relay Chat server.  5,120 clients and still growing.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)
***		Part of the DALnet IRC network		***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34D4B988.C602DECF>