From owner-freebsd-questions Sun Jul 28 12:10:22 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 E535B37B400 for ; Sun, 28 Jul 2002 12:10:20 -0700 (PDT) Received: from inhuman.org (ip68-100-76-222.nv.nv.cox.net [68.100.76.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8344143E3B for ; Sun, 28 Jul 2002 12:10:20 -0700 (PDT) (envelope-from ugly@inhuman.org) Received: from whorism (unknown [192.168.1.4]) by graveyard.inhuman.org (Postfix) with ESMTP id 1E33068 for ; Fri, 26 Jul 2002 22:16:11 -0400 (EDT) Date: Fri, 26 Jul 2002 22:14:26 -0400 From: Andrew Martin To: freebsd-questions@freebsd.org Subject: 'let' syntax in /bin/sh Message-Id: <20020726221426.21bacb51.ugly@inhuman.org> X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 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 Hello, For the life of me I haven't been able to figure out the correct syntax for using 'let' in the sh that comes with FreeBSD (4.6-STABLE). $ let x=0 let: arith: syntax error: "x=0" I have tried many other variations, and read through 'man sh', as well as searching google. Could someone point me in the right direction? Thanks, -Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message