Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 1999 11:54:32 +0200 (MET DST)
From:      Lukas Ruf <lpruf@stud.ee.ethz.ch>
To:        Ritwik Bhattacharya <ritwik@dbrci.blr.daimlerbenz.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: CSH script -- Need help 
Message-ID:  <Pine.GSO.4.10.9906091152220.16279-100000@tardis-a2.ee.ethz.ch>
In-Reply-To: <Pine.BSF.4.10.9906091514250.26417-100000@hamsadhwani.dbrci.blr.daimlerbenz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I define OS with setenv OS `uname` within my ~/.tcshrc.

In fact, I made further test: even executing the script with all lines
outcommented, I receive this error message.

Thanks,

Lukas

On Wed, 9 Jun 1999, Ritwik Bhattacharya wrote:

> Date: Wed, 9 Jun 1999 15:15:37 +0530 (IST)
> From: Ritwik Bhattacharya <ritwik@dbrci.blr.daimlerbenz.com>
> To: Lukas Ruf <lpruf@stud.ee.ethz.ch>
> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
> Subject: Re: CSH script -- Need help 
> 
> > #!/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}
> 
> I don't know about the limit thing, but where's $OS being defined ?
> 
> Ritwik
> 
> The fact that a believer is happier than a sceptic is no more to
> the point than the fact that a drunken man is happier than a sober
> one. -- George Bernard Shaw
> ------------------------------------------------------------------
> Daimler Benz Research Center India       302 A Somerset Apartments
> 137, Infantry Road                                      18 MG Road
> Bangalore 560 001                                Bangalore 560 001
> India                                                        India
> 
>                          Tel  : +91 80 286 1722
>                          Fax  : +91 80 286 1723
>                 Mail : ritwik@dbrci.blr.daimlerbenz.com
> ------------------------------------------------------------------
> 

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




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