[BusyBox] busybox 1.0 pre2 let problem

Miles Roper mroper at westcoastdhb.org.nz
Thu Jul 31 08:13:20 UTC 2003


I tried this but I got
x=`let 1`
sh: let: syntax error: "1"

Cheers

Miles


-----Original Message-----
From: Vladimir N. Oleynik [mailto:dzo at simtreas.ru]
Sent: Thursday, 31 July 2003 07:47 p.m.
To: Miles Roper
Cc: 'busybox at mail.busybox.net'
Subject: Re: [BusyBox] busybox 1.0 pre2 let problem


Miles Roper wrote:
> Hi,
> 
> Just compiled the new busybox 1.0 pre2, but are having a problem with let.
> 
> on busybox 0.61beta.20030623 (the previous version I was using) you use to
> be able to go
> 
> let x=1
> 
> now this returns 
> 
> let: 21: Syntax error: x=1
> 
> Ideas?


dash have expr == let aliased.
Result: let is command for reduce $(()) syntax.
You should change your example to
x=`let 1`


--w
vodz




More information about the busybox mailing list