Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 22:14:26 -0400
From:      Andrew Martin <ugly@inhuman.org>
To:        freebsd-questions@freebsd.org
Subject:   'let' syntax in /bin/sh
Message-ID:  <20020726221426.21bacb51.ugly@inhuman.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726221426.21bacb51.ugly>