|
From: | Mat Troi |
Subject: | Re: How to use grub regex? |
Date: | Wed, 21 Sep 2016 13:47:47 -0700 |
Hello,what kind of behaviour do you search for in grub ? changing of directory or what ?
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/blahI want to find if cd is in string, how do I do that?I tried "regex --set=foo 'cd' $stringecho $fooThere 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
[Prev in Thread] | Current Thread | [Next in Thread] |