[MacPorts] #67190: no support for 'declare -A'

MacPorts noreply at macports.org
Tue Apr 4 09:55:37 UTC 2023


#67190: no support for 'declare -A'
----------------------+--------------------
 Reporter:  splaisan  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.8.1
 Keywords:            |       Port:  bash
----------------------+--------------------
 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] ...]

-- 
Ticket URL: <https://trac.macports.org/ticket/67190>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list