From owner-freebsd-questions Sun Feb 1 09:51:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06794 for questions-outgoing; Sun, 1 Feb 1998 09:51:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cam.grad.kiev.ua (grad-UTC-28k8.ukrtel.net [195.5.25.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06759 for ; Sun, 1 Feb 1998 09:51:36 -0800 (PST) (envelope-from Ruslan@Shevchenko.kiev.ua) Received: from Shevchenko.kiev.ua (localhost [127.0.0.1]) by cam.grad.kiev.ua (8.8.8/8.8.5) with ESMTP id VAA08738; Sat, 31 Jan 1998 21:49:56 +0200 (EET) Message-ID: <34D3805F.E85EA90C@Shevchenko.kiev.ua> Date: Sat, 31 Jan 1998 21:49:52 +0200 From: Ruslan Shevchenko X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE 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=x-user-defined 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: > Hello, > > 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. > > This is very frustrating because the script works on other UNIX systems with C > Shell but it doesn't work on the FreeBSD 2.2.2 > > I will really appreciate if you would help me fix this problem. > Dumb gipotese: Are you made it executable via chmod +x script ? > Regards, > Joseph Kulakowski -- @= //RSSH mailto://Ruslan@Shevchenko.Kiev.UA