Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SC3009: POSIX.1-2024 now supports brace expansion #3171

Open
e-kwsm opened this issue Mar 23, 2025 · 0 comments
Open

SC3009: POSIX.1-2024 now supports brace expansion #3171

e-kwsm opened this issue Mar 23, 2025 · 0 comments

Comments

@e-kwsm
Copy link

e-kwsm commented Mar 23, 2025

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_06

When the expansion occurs in a context where field splitting will be performed, a word that contains all of the following somewhere within it, before any expansions are applied, in the order specified:

  • an unquoted <left-curly-bracket> ('{') that is not immediately preceded by an unquoted <dollar-sign> ('$')
  • one or more unquoted <comma> (',') characters or a sequence that consists of two adjacent <period> ('.') characters surrounded by other characters (which can also be <period> characters)
  • an unquoted <right-curly-bracket> ('}')

Note: dash b3e38adf6718801e7f06267b438c45caec9523bb does not support the feature yet.

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

No branches or pull requests

1 participant