Bash * and @ Relative to Array Elements: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 2: Line 2:
* [[Bash_Concepts#$@|<tt>$@</tt>]]
* [[Bash_Concepts#$@|<tt>$@</tt>]]
* [[Bash_Concepts#$*|<tt>$*</tt>]]
* [[Bash_Concepts#$*|<tt>$*</tt>]]
* [[Bash_Arrays#Reference_All_Indexed_Array_Elements|Get All Indexed Array Elements]]
* [[Bash_Arrays#Get_All_Associative_Array_Keys|Get All Associative Array Values]]
* [[Bash_Arrays#Get_All_Associative_Array_Keys|Get All Associative Array Values]]
* [[Bash_Arrays#Get_All_Associative_Array_Values|Get All Associative Array Keys]]
* [[Bash_Arrays#Get_All_Associative_Array_Values|Get All Associative Array Keys]]

Revision as of 18:40, 1 April 2024

Internal

Overview

* and @ are bash syntax elements that tokenize arrays. They are used to process command line argument ($*, $@ and "$@"), values for indexed arrays, keys and values for associative arrays, etc.