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

Evaluate modifications for supporting Bash 3.x compatibility #31

Open
PeterDaveHello opened this issue Jan 9, 2025 · 0 comments
Open
Assignees

Comments

@PeterDaveHello
Copy link
Owner

The current script requires at least Bash 4.0 due to the use of modern syntax features (e.g., associative arrays). However, some environments, such as the default macOS Bash (3.x), may not support these features, potentially limiting the usability of the script.

This issue aims to explore the feasibility of making minimal modifications to achieve compatibility with Bash 3.x. Potential considerations include:

  1. Identifying features or syntax incompatible with Bash 3.x (e.g., associative arrays, specific parameter expansions).
  2. Proposing alternative implementations or workarounds for these features.
  3. Assessing the trade-offs in maintainability and code clarity.

If this compatibility adjustment introduces excessive complexity or compromises the script’s functionality, we can document the requirement for Bash 4.0+ as the minimum version instead.

@PeterDaveHello PeterDaveHello self-assigned this Jan 9, 2025
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