On Thu, 2008-01-31 at 00:45 +0100, Franklin PIAT wrote:

> It seems that variable expansion adds a space before and after the variable's 
> value.
> Since the test must be "A=B", without space, results seems to be wrong 
> (unless i'm doing something wrong).

Sorry for my previous clueless reply.  I though you were asking about
the normal shell (like bash), not about GRUB command line.

You are right about spaces, I've had this problem before:

> echo (${root})
( hd0,1 )
> ls (${root})
error: unknown device

-- 
Regards,
Pavel Roskin


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to