From owner-freebsd-questions Tue Jul 9 12:13:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACDE237B400 for ; Tue, 9 Jul 2002 12:13:20 -0700 (PDT) Received: from tninet.se (lennier.tninet.se [195.100.94.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51BE743E54 for ; Tue, 9 Jul 2002 12:13:19 -0700 (PDT) (envelope-from tdv94ped@cs.umu.se) Received: from cs.umu.se (h30n1c1o1023.bredband.skanova.com [213.64.164.30]) by lennier.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 706152.241997.1026.0s44647382lennier ; Tue, 09 Jul 2002 21:13:17 +0200 Message-ID: <3D2B35C2.3B5FCAA9@cs.umu.se> Date: Tue, 09 Jul 2002 21:13:06 +0200 From: Paul Everlund X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: David Smithson Cc: freebsd-questions@freebsd.org Subject: Re: How do I repeat a command N times? References: <006801c2276b$f703f1d0$0801a8c0@customfilmeffects.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Smithson wrote: > > Wow! So many options. > > Perl returns: "Badly placed ( " > > My shell is csh > > CSH returns "let: arith: syntax error: 'x=+1'" , yet continues and works. > What's with the error? What do happen if you write x+=1 instead? Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message