Yes that works :-)

Many thanks, it was not clear anywhere I searched that the regexp module
would be necessary

Now all I need is my background per menu command answered and all will be
well with the world :)

At least until tomorrow....

> On Tue, Sep 6, 2011 at 12:49 AM, Jason But <[email protected]> wrote:
>> Hello all
>>
>> I am trying to make a sort-of complicated grub.cfg file where I want to
>> search a series of files on the disk.
>>
>> At first I tried something like
>>
>> for dir_name in /boot/* ; do
>>  echo $dir_name
>>  read
>> done
> 
> This is actually the correct syntax, but globs are only expanded when
> the "regexp" module is loaded. So add "insmod regexp" before this code
> and it will work. Later today there should be a practical example of
> this @ 
> http://www.supergrubdisk.org/wiki/Loopback.cfg#How_do_you_use_a_loopback.cfg_to_boot_an_iso.3F
> .
> 


_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to