Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Issue using wildcard * in filespecs #63

Open
steve6375 opened this issue May 21, 2020 · 2 comments
Open

Issue using wildcard * in filespecs #63

steve6375 opened this issue May 21, 2020 · 2 comments

Comments

@steve6375
Copy link

I have been trying using -f with wildcards in some .sh batch files with * and have been seeing errors or it just does not work sometimes.
In this case I was testing my own version of loop_detect.sh from grubfm.
There seems to be a problem with memory maybe ??
image
I see you use wildcards in loop_detect.sh so I assumed they should work.
This is UEFI64 boot to grubfm.
On first run it works, but during testing .sh files multiple times, it stops working and I have to reboot.
I have seen this behaviour on many different versions of grubfm so I don't think it is version specific.
It happens on both NTFS and FAT32 volumes so it is not specific to one filesystem.
Note that specifying the exact filename always works, so it is something to do with using wildcards.
Have you ever come across this?

@a1ive
Copy link
Owner

a1ive commented May 21, 2020

-f "(hd0,2)/.cfg" and -f (hd0,2)/.cfg (no quotes) are not the same.
path with quotes will not use wildcard.

@steve6375
Copy link
Author

OK, my bad test in console, but I used code where I have not used quotes and it did not work until a reboot.
There is something odd about using wildcards sometimes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants