Opened 20 months ago
Closed 20 months ago
#67190 closed defect (invalid)
no support for 'declare -A'
Reported by: | splaisan (Stephane Plaisance) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | bash |
Description
Hi,
I tried to declare a hash in bash 5.0 and 5.2 (5.2.15(1)-release (aarch64-apple-darwin22.3.0)) installed by macport on my M2 macbook pro and get the same:
$ bash --version GNU bash, version 5.2.15(1)-release (aarch64-apple-darwin22.3.0)
$ declare -A test -bash: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
Change History (2)
comment:1 Changed 20 months ago by splaisan (Stephane Plaisance)
comment:2 Changed 20 months ago by reneeotten (Renee Otten)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Sorry, I needed to further specify my shell change as explained in: https://www.cyberciti.biz/faq/change-default-shell-to-bash-on-macos-catalina/ it now works like a charm you may close this ticket