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 ...
Have you ever been confused by the different ways to use Bash arrays? Or perhaps you're just learning Bash, and they're next on your list? Bash arrays can act strangely depending on how you use them.
An associative array is an array which uses strings as indices instead of integers. To see how associative arrays work, we’re going to look at both the Korn shell and Perl, though only the newest ...