From owner-freebsd-questions Wed Jun 9 2:51:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dbft.daimlerbenz.com (venus.dbft.daimlerbenz.com [53.122.79.10]) by hub.freebsd.org (Postfix) with SMTP id 8591C14D25 for ; Wed, 9 Jun 1999 02:51:50 -0700 (PDT) (envelope-from ritwik@dbrci.blr.daimlerbenz.com) Received: by dbft.daimlerbenz.com; id LAA12188; Wed, 9 Jun 1999 11:50:09 +0200 Received: from mail.dbrci.blr.daimlerbenz.com(53.248.60.16) by venus.dbft.daimlerbenz.com via smap (V4.2) id xma011988; Wed, 9 Jun 99 11:49:54 +0200 Received: from hamsadhwani.dbrci.blr.daimlerbenz.com [53.248.60.17] by soham.dbrci.blr.DaimlerBenz.COM with esmtp (Exim 1.73 #1) id 10rewg-00062s-00; Wed, 9 Jun 1999 15:16:54 +0530 Date: Wed, 9 Jun 1999 15:15:37 +0530 (IST) From: Ritwik Bhattacharya To: Lukas Ruf Cc: FreeBSD Questions Subject: Re: CSH script -- Need help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > #!/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