Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-03-25 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Add a simple expr style command that will set an env variable as the result > of the command. This allows us to do simple math in shell. The following > operations are supported: &, |, ^, +, -, *, /. > > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> >

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > OK, time to educate Jerry since I'm too lazy to check myself. Does our > hush shell support back ticks? If we have back tick support, or can add No, we don't, and it's not trivial to add. [Feel free to prove me worng :-) ] > that support, we shoul

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > nice idea. Can you at a little prose to the README > (perhaps with a little usage example). Or (and better *and*) to the manual, please? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 1652

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-14 Thread Kumar Gala
On Feb 14, 2008, at 3:14 AM, Matthias Fuchs wrote: > Hi Kumar, > > nice idea. Can you at a little prose to the README > (perhaps with a little usage example). I can do this. - k > > Matthias > > On Wednesday 13 February 2008 23:53, Kumar Gala wrote: >> Add a simple expr style command that will

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-14 Thread Kumar Gala
On Feb 14, 2008, at 6:41 AM, Jerry Van Baren wrote: > Kumar Gala wrote: >> On Feb 13, 2008, at 5:07 PM, Wolfgang Denk wrote: >>> In message >> > you wrote: Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple ma

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-14 Thread Jerry Van Baren
Kumar Gala wrote: > On Feb 13, 2008, at 5:07 PM, Wolfgang Denk wrote: > >> In message > [EMAIL PROTECTED]> you wrote: >>> Add a simple expr style command that will set an env variable as >>> the result >>> of the command. This allows us to do simple math in shell. The >>> following >>> opera

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-14 Thread Matthias Fuchs
Hi Kumar, nice idea. Can you at a little prose to the README (perhaps with a little usage example). Matthias On Wednesday 13 February 2008 23:53, Kumar Gala wrote: > Add a simple expr style command that will set an env variable as the result > of the command. This allows us to do simple math i

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-13 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > > Well, *my* command was *not* to rename it. Can't even type any more. I intended to write "comment". > > At least, please don't make it a default command, then. > > If you are good with calling it expr so am I. I'd prefer not > confusing 'setenv

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 5:07 PM, Wolfgang Denk wrote: > In message [EMAIL PROTECTED]> you wrote: >> Add a simple expr style command that will set an env variable as >> the result >> of the command. This allows us to do simple math in shell. The >> following >> operations are supported: &, |, ^

Re: [U-Boot-Users] [PATCH] Add setexpr command

2008-02-13 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Add a simple expr style command that will set an env variable as the result > of the command. This allows us to do simple math in shell. The following > operations are supported: &, |, ^, +, -, *, /. > > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> >

[U-Boot-Users] [PATCH] Add setexpr command

2008-02-13 Thread Kumar Gala
Add a simple expr style command that will set an env variable as the result of the command. This allows us to do simple math in shell. The following operations are supported: &, |, ^, +, -, *, /. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- this was the expr patch, but renamed based on com