Results 1 to 2 of 2
Hi
I am trying to declare an associative array on the command line. I get the following error, could somebody explain this and reslove
$ declare -A score_array
-bash: declare: ...
- 04-19-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 8
associative array declaration failure
Hi
I am trying to declare an associative array on the command line. I get the following error, could somebody explain this and reslove
$ declare -A score_array
-bash: declare: -A: invalid option
- 04-19-2011 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Google: bash scripting declare array
Link


Reply With Quote