logo       

RE: busybox 1.0 pre2 let problem: msg#00270

linux.busybox

Subject: RE: busybox 1.0 pre2 let problem

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

Cheers

Miles


-----Original Message-----
From: Vladimir N. Oleynik [mailto:dzo@xxxxxxxxxxx]
Sent: Thursday, 31 July 2003 07:47 p.m.
To: Miles Roper
Cc: 'busybox@xxxxxxxxxxxxxxxx'
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise