"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes:

> On Saturday 29 April 2006 13:42, Marco Gerards wrote:
>> A lot of people have been asking about an include
>> command/source/. command.  But I am wondering if it just can be the
>> same as configfile, except for the cls.
>
> No. It should be the same as "." in BASH. The command "configfile" is more 
> similar to invoking another shell in BASH (i.e. it creates another context, 
> while "." is executed in the current context). In this sense, it might be 
> better to remove configfile and simply allow the user to "execute" a config 
> file (like "grub> (hd0,1)/boot/grub/another.cfg").

Currently we do not support any context, so it is the same.

I prefer to use some command to execute files.  It makes the parser
simpler and moves code into commands, which are easier to change.

--
Marco



_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to