The ‘Bourne shell scripting’ Archives
Posted August 31, 2004 by

Bash Shell Script Accessing Array Variables

The bash shell allows a number of methods for accessing elements of variable arrays. This tech-recipe demonstrates some of these techniques.

Posted August 30, 2004 by

Bash Shell Script Iterate Through Array Values

Having an array of variables is of no use unless you can use those values somehow. This tech-recipe shows a few methods for looping through the values of an array in the bash shell.

Posted August 30, 2004 by

bash shell script declaring/creating arrays

The use of array variable structures can be invaluable. This recipe describes several methods for declaring arrays in bash scripts.