Skip to content

Evaluate modifications for supporting Bash 3.x compatibility #31

@PeterDaveHello

Description

@PeterDaveHello

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.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions