Date: Mon, 29 Jul 2002 02:03:46 -0500 (CDT) From: hawkeyd@visi.com (D J Hawkey Jr) To: ugly@inhuman.org, freebsd-questions@freebsd.org Subject: Re: 'let' syntax in /bin/sh Message-ID: <200207290703.g6T73kP36846@sheol.localdomain> In-Reply-To: <20020726221426.21bacb51.ugly_inhuman.org@ns.sol.net> References: <20020726221426.21bacb51.ugly_inhuman.org@ns.sol.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20020726221426.21bacb51.ugly_inhuman.org@ns.sol.net>, ugly@inhuman.org writes: > 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? The syntax is correct, but the shell isn't. 'let' is a Korn shell (ksh) keyword. > Thanks, > -Andrew Dave -- Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" 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?200207290703.g6T73kP36846>