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 Message-ID: <Pine.BSF.4.10.9906091514250.26417-100000@hamsadhwani.dbrci.blr.daimlerbenz.com> In-Reply-To: <Pine.GSO.4.10.9906091141160.16279-100000@tardis-a2.ee.ethz.ch>
next in thread | previous in thread | raw e-mail | index | archive | 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 ------------------------------------------------------------------ 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.10.9906091514250.26417-100000>