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

Shell options (non-portable extensions) #262

Open
6 tasks
Tracked by #41
magicant opened this issue May 14, 2023 · 0 comments
Open
6 tasks
Tracked by #41

Shell options (non-portable extensions) #262

magicant opened this issue May 14, 2023 · 0 comments
Labels
tracker List of subtasks

Comments

@magicant
Copy link
Owner

magicant commented May 14, 2023

  • errexit
    • Exit on double bracket command returning non-zero exit status
  • xtrace
    • Disable recursive trace while expanding $PS4
    • Provide source information to the parse of $PS4
    • Support $YASH_PS4 and $YASH_PS4S
  • Option to toggle POSIX conformance
    • For historical reasons, this option is named posixlycorrect, which may not describe its exact behavior.
    • 🤔 Should we split the option into the following two?
      1. Disable non-portable aspects
        • The shell rejects or warns about scripts that may behave differently on other POSIX-compliant shells.
      2. Disable non-conforming behaviors
        • The shell changes the behavior so it conforms to POSIX.
  • Other non-portable options (details TBD...)

For portable options, see #209.

@magicant magicant mentioned this issue May 14, 2023
27 tasks
@magicant magicant added the tracker List of subtasks label May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracker List of subtasks
Projects
None yet
Development

No branches or pull requests

1 participant