Find the answer to your Linux question:
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: ...
  1. #1
    Just 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

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...