Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lars512
on Jan 11, 2025
|
parent
|
context
|
favorite
| on:
Today I learned that bash has hashmaps (2024)
Unfortunately, MacOS ships an earlier version of bash that does not include associative arrays, so they’re not as portable as you might like.
fastily
on Jan 12, 2025
[–]
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: