From owner-freebsd-questions Sun Feb 1 10:06:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA09153 for questions-outgoing; Sun, 1 Feb 1998 10:06:39 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from proxyb1.san.rr.com (proxyb1-atm.san.rr.com [204.210.0.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA09148 for ; Sun, 1 Feb 1998 10:06:31 -0800 (PST) (envelope-from Studded@san.rr.com) Received: from san.rr.com (dt051n19.san.rr.com [204.210.32.25]) by proxyb1.san.rr.com (8.8.7/8.8.8) with ESMTP id KAA19569; Sun, 1 Feb 1998 10:05:59 -0800 (PST) Message-ID: <34D4B988.C602DECF@san.rr.com> Date: Sun, 01 Feb 1998 10:06:00 -0800 From: Studded Organization: DALnet IRC Network X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE-0131 i386) MIME-Version: 1.0 To: NewtronBoy@aol.com CC: freebsd-questions@FreeBSD.ORG Subject: Re: Problem with C Shell Scripts References: <3c25dd17.34d49ee5@aol.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" 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 ***