Unix Tip: Using Indexed Arrays in the Korn Shell
By Sandra Henry Stocker
One of the most convenient ways to manipulate information in scripts is to store it in an array. Arrays facilitate looping through lists of related values, keeping track of an ever changing number of items and relating descriptive text with the items that they describe. As a very simple example, consider the colors of a rainbow. You can always loop through a list of rainbow colors like this...
Read the full article here
One of the most convenient ways to manipulate information in scripts is to store it in an array. Arrays facilitate looping through lists of related values, keeping track of an ever changing number of items and relating descriptive text with the items that they describe. As a very simple example, consider the colors of a rainbow. You can always loop through a list of rainbow colors like this...
Read the full article here
0 Comments:
Post a Comment
<< Home