From owner-freebsd-questions Wed Jun 9 9:57:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 22256151EF for ; Wed, 9 Jun 1999 09:57:31 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Wed, 9 Jun 1999 12:57:31 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105971@site2s1> From: Christopher Michaels To: 'Lukas Ruf' , FreeBSD Questions Subject: RE: CSH script -- Need help Date: Wed, 9 Jun 1999 12:59:17 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try starting the script with #!/bin/csh -f -Chris > -----Original Message----- > From: Lukas Ruf [SMTP:lpruf@stud.ee.ethz.ch] > Sent: Wednesday, June 09, 1999 5:43 AM > To: FreeBSD Questions > Subject: CSH script -- Need help > > Hi list, > > 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. > > If I run the skript with tcsh , all works fine. > > 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 Script ---- > #!/bin/csh > > 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 Script. > > Kind Regards and Thanks in Advance, > > Lukas > -- > *** ALWAYS MAILTO:"Lukas Ruf " *** > Lukas Ruf // Neugutstr. 9 // 8002 Zurich // Switzerland // +41-1-2813545 > (PGP2.6.3) Fingerprint = 37CF 3AB4 B0F7 0AF5 C308 4188 8C10 86FE > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message