From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Include
Date: Sat, 29 Apr 2006 14:34:57 +0200 [thread overview]
Message-ID: <873bfwblvy.fsf@xs4all.nl> (raw)
In-Reply-To: <200604291404.57583.okuji@enbug.org> (Yoshinori K. Okuji's message of "Sat, 29 Apr 2006 14:04:56 +0200")
"Yoshinori K. Okuji" <okuji@enbug.org> 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
next prev parent reply other threads:[~2006-04-29 12:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-29 11:42 Include Marco Gerards
2006-04-29 12:04 ` Include Yoshinori K. Okuji
2006-04-29 12:34 ` Marco Gerards [this message]
2006-04-29 12:42 ` Include Yoshinori K. Okuji
2006-04-29 13:02 ` Include Marco Gerards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873bfwblvy.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.