Skip to content

Conversation

@wolfv
Copy link
Member

@wolfv wolfv commented Feb 6, 2025

I am looking into two issues:

{1..5} should expand to 1 2 3 4 5, also in word parts. This already works for globs in deno-task-shell, so it's an extension. Should follow the rules of bash (first brace extension, then globs, for example).

"linux-64" == linux* should use pattern matching (and not glob expansion). If a glob is detected on the right hand side of a binary operation like this, then it's used as a pattern to evaluate against the string on the left hand side. We can just use the glob that is already in use for this, but we need to prevent the current expansion and return a pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant