![]() ![]() ![]() ![]() #!/bin/bashĭeclare -A associativeArray(=value1ĭepending on your quote variation, you may need to escape your string. You can also use quotes ( ', ") around the declaration, its keys, andĭeclare -A 'associativeArray=(=val1 =val2)'Īnd you can delimit each =value pair via space or newline. Here is a little write up that'll help anyĪ basic associative array declaration #!/bin/bashĭeclare -A associativeArray=(=val1 =val2) Although this question is answered, I wasn't able to fully satiate my ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |