Linux Today: Linux News On Internet Time.





More on LinuxToday


Bash Arrays

Jun 21, 2008, 09:00 (0 Talkback[s])
(Other stories by Mitch Frazier)

"If you're used to a 'standard' *NIX shell you may not be familiar with bash's array feature. Although not as powerful as similar constructs in the P languages (Perl, Python, and PHP) and others, they are often quite useful.

"Bash arrays have numbered indexes only, but they are sparse, ie you don't have to define all the indexes. An entire array can be assigned by enclosing the array items in parenthesis..."

Complete Story

Related Stories: