valosekj / bash_basics

Bundle of bash, python and matlab scripts and functions used in routine work
MIT License
2 stars 0 forks source link

declare -A is not available in bash 3.2 #12

Open valosekj opened 2 years ago

valosekj commented 2 years ago

On MacOS which has still bash3.2 as a default bash, declare -A is not available

https://github.com/valosekj/bash_basics/blob/06edc5b9417c5313a05cab7c4ac23649fd3faccd/header_tools/parse_dicom_header.sh#L20

See discussion here