This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # --- Bash Version Check --- | |
| if [[ -z "${BASH_VERSINFO[0]}" || "${BASH_VERSINFO[0]}" -lt 4 ]]; then | |
| echo "Error: This script requires Bash version 4.0 or higher." >&2 | |
| echo "You are running: $BASH_VERSION" >&2 | |
| exit 1 | |
| fi | |
| # --- Default Variables --- | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # Associative arrays (for keys with spaces) require Bash 4.0+ | |
| if [[ -z "${BASH_VERSINFO[0]}" || "${BASH_VERSINFO[0]}" -lt 4 ]]; then | |
| echo "Error: This script requires Bash version 4.0 or higher." >&2 | |
| echo "You are running: $BASH_VERSION" >&2 | |
| exit 1 | |
| fi | |
| input_file="" |