Date: Wed, 9 Jun 1999 12:59:17 -0400 From: Christopher Michaels <ChrisMic@clientlogic.com> To: 'Lukas Ruf' <lpruf@stud.ee.ethz.ch>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: RE: CSH script -- Need help Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105971@site2s1>
next in thread | raw e-mail | index | archive | help
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 <Script-Name>, 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 <lpruf@stud.ee.ethz.ch>" *** > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105971>