grub2-filemanager
grub2-filemanager copied to clipboard
.xml extension must be lower case
.XML files are not listed, .xml must be lower case.
https://github.com/a1ive/grub2-filemanager/blob/918524dc18f08eba1ade421282b54a7b2787fa15/boot/grubfm/distro/win.sh#L44
I used wildcards to match xml files, which are case-sensitive.
https://github.com/a1ive/grub/blob/5b20b2f521f32e8b170581854cc7c80f0c0bc159/grub-core/commands/wildcard.c#L180
According to https://man7.org/linux/man-pages/man3/regcomp.3.html,
if (regcomp (regexp, buffer, RE_SYNTAX_GNU_AWK))
should be if (regcomp (regexp, buffer, RE_SYNTAX_GNU_AWK | REG_ICASE))