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

Request: Support for new POSIX 2022 sh features #1050

Closed
mcandre opened this issue Jan 11, 2024 · 2 comments
Closed

Request: Support for new POSIX 2022 sh features #1050

mcandre opened this issue Jan 11, 2024 · 2 comments

Comments

@mcandre
Copy link

mcandre commented Jan 11, 2024

The upcoming POSIX 2022 (lol) standard will include new features for many programs, such as set -o pipefail for sh.

Will the mvdan/sh AST need to be extended to add support for new flags?

@mvdan
Copy link
Owner

mvdan commented Jan 14, 2024

set is just a builtin, so it's not represented in any special way in the syntax tree.

As far as I can see, this new POSIX standard version isn't finished yet. Until it is, I don't think we want to prematurely make any changes. I can't even find a link to the latest version of its shell language specification after ten minutes of looking around.

@mvdan mvdan closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2024
@mcandre
Copy link
Author

mcandre commented Aug 28, 2024 via email

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

2 participants