grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use grub regex?


From: Bruno Doutriaux - ABCD Informatique
Subject: Re: How to use grub regex?
Date: Sat, 17 Sep 2016 08:42:17 +0200

Hello,

what kind of behaviour do you search for in grub ? changing of directory or what ?

Cordialement,
-----------------------------
Bruno DOUTRIAUX
03 27 40 22 66
06 58 60 39 53


2016-09-17 0:53 GMT+02:00 Mat Troi <address@hidden>:
Hi,

I want to find out if a string contain certain word in grub.  I am thinking about using grub regex.

Problem:
set string = (hd0,gpt1)/blah/blah
I want to find if cd is in string, how do I do that?


I tried "regex --set=foo 'cd' $string
echo $foo

There isn't anything in foo, so I guess my regex is not correct.

Thanks,
MT

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]