You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We aim to emulate Bash behavior as closely as possible within reason, so this is likely a bug. The recursive globbing logic is surprisingly difficult to get exactly right. Happy to review a patch, otherwise I'll look at this sometime this week.
This should be fixed now. See the commit adding test cases; this wasn't a bug in the interp or expand packages. It was only a bug when using the pattern package directly.
Activity
mvdan commentedon Apr 8, 2025
We aim to emulate Bash behavior as closely as possible within reason, so this is likely a bug. The recursive globbing logic is surprisingly difficult to get exactly right. Happy to review a patch, otherwise I'll look at this sometime this week.
pattern: add more test cases for globstar not used on its own
mvdan commentedon Apr 13, 2025
This should be fixed now. See the commit adding test cases; this wasn't a bug in the
interporexpandpackages. It was only a bug when using thepatternpackage directly.pattern: "**" only acts as globstar when alone as a path element
paulhammond commentedon Apr 14, 2025
Thanks for working on this so quickly! This looks right to me...
chore(deps): update module mvdan.cc/sh/v3/cmd/shfmt to v3.12.0 (hetzn…