Re: Regarding ENV variable

2011-01-05 Thread Gnanasekar Loganathan
Thanks BVK! :) -Gnana On Wed, Jan 5, 2011 at 2:46 PM, BVK Chaitanya wrote: > On Wed, Jan 5, 2011 at 2:30 PM, Gnanasekar Loganathan > wrote: >> Please find the attachment. >> >> grub version 1.98 >> > > Please use bzr version, which is, 1.99~beta  Its been already fixed. > > > > bvk.chaitany

Re: Regarding ENV variable

2011-01-05 Thread BVK Chaitanya
On Wed, Jan 5, 2011 at 2:30 PM, Gnanasekar Loganathan wrote: > Please find the attachment. > > grub version 1.98 > Please use bzr version, which is, 1.99~beta Its been already fixed. bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http

Re: Regarding ENV variable

2011-01-05 Thread Gnanasekar Loganathan
Please find the attachment. grub version 1.98 I'm getting the same error 'unkown command'. If you need any information please revert back to me. I found alternate way of running those kind variables. Thanks, Gnana On Tue, Jan 4, 2011 at 6:24 PM, Colin Watson wrote: > On Tue, Jan 04, 2011

Re: Regarding ENV variable

2011-01-04 Thread Colin Watson
On Tue, Jan 04, 2011 at 01:36:02PM +0100, Andreas Born wrote: > I just quickly tested this behaviour with bash (and busybox). With > neither of them I needed to use eval. Although eval could be a nice > feature, it may be better to consider adapting to this seemingly > common behaviour. Yes, as BV

Re: Regarding ENV variable

2011-01-04 Thread Andreas Born
I just quickly tested this behaviour with bash (and busybox). With neither of them I needed to use eval. Although eval could be a nice feature, it may be better to consider adapting to this seemingly common behaviour. Here's the output from bash: $ blub="blub1 blub2" $ touch $blub $ ls $blub blu

Re: Regarding ENV variable

2011-01-04 Thread BVK Chaitanya
No, it is working as expected already; that is below code should execute echo command and print "foo" already. set cmd="echo foo" $cmd Gnanasekar, what is your grub version? Please try with latest bzr version. bvk.chaitanya On Tue, Jan 4, 2011 at 4:16 PM, Colin Watson wrote: > On Mon, Ja

Re: Regarding ENV variable

2011-01-04 Thread Colin Watson
On Mon, Jan 03, 2011 at 07:08:51PM +0530, Gnanasekar Loganathan wrote: > i'm setting environment variable by set mycmd="knetbsd netbsd.g" > > if call my own command, end up with no argument error. > grub> myboot $mycmd > myboot: usage knetbsd > > if do echo $mycmd, getting the correct string > g

Regarding ENV variable

2011-01-03 Thread Gnanasekar Loganathan
Hi All, i'm setting environment variable by set mycmd="knetbsd netbsd.g" if call my own command, end up with no argument error. grub> myboot $mycmd myboot: usage knetbsd if do echo $mycmd, getting the correct string grub> echo $mycmd knetbsd netbsd.g if i directly run, throw unknown command gr