Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 1999 15:24:00 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Lukas Ruf <lpruf@stud.ee.ethz.ch>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: #!/bin/csh -- limit: no such limit.
Message-ID:  <Pine.BSF.4.03.9906091522490.3005-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.GSO.4.10.9906081140480.8007-100000@tardis-a2.ee.ethz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Skript-Name>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9906091522490.3005-100000>