[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Include
From: |
Marco Gerards |
Subject: |
Re: Include |
Date: |
Sat, 29 Apr 2006 14:34:57 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Yoshinori K. Okuji" <address@hidden> 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
- Include, Marco Gerards, 2006/04/29
- Re: Include, Yoshinori K. Okuji, 2006/04/29
- Re: Include,
Marco Gerards <=
- Re: Include, Yoshinori K. Okuji, 2006/04/29