Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unfortunately, MacOS ships an earlier version of bash that does not include associative arrays, so they’re not as portable as you might like.


You can use homebrew to install the latest version of bash and then chsh to set it as your default shell. That’s what I do anyways




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: