From owner-freebsd-questions Wed Jun 9 15:24: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id ADCE015416 for ; Wed, 9 Jun 1999 15:24:03 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id PAA07857; Wed, 9 Jun 1999 15:24:00 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 9 Jun 1999 15:24:00 -0700 (PDT) From: Doug White To: Lukas Ruf Cc: FreeBSD Questions Subject: Re: #!/bin/csh -- limit: no such limit. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 8 Jun 1999, Lukas Ruf wrote: > when I try to run a simple skript (as posted at the end of this mail) I > always get the answer: > limit: No such limit. There's no limit command in that script. Perhaps you have something odd in .cshrc? > If I run the skript with tcsh , all works fine. csh != tcsh. > My environment: FreeBSD 3.1-RELEASE > > Does anybody know about this problem ? Does anybody know how to fix it > (and gives me the answer) ? > > ---- the simple Skript ---- > #!/bin/csh csh isn't recommended as a scripting environment. > > set TAR=/tmp > set FILES=(Asker Bidder Decider Receiver Sender) > set PRE=DA_ > > if (-d $TAR) then > foreach xFILE ($FILES) > cp ${PRE}${xFILE}.${OS} ${TAR}/${xFILE} > end > endif > ---- End of the Skript. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message