From: Harry Moreau (hmoreau at domain iona.com)
Date: Mon 29 Mar 1999 - 19:25:15 IST
On Mon, 29 Mar 1999, Alister Waller wrote:
>Hi again.
>
>Perhaps I should just ask for suggestions on how to read in an array
>of strings using bash shell scripting. If there is such a way.
If you want to use the "array" of strings sequentially as a list, then the
attached code might suffice. If you want to subscript the list, you would
have to write a function that would take the array and an index as its
arguments. It would then count through the elements - a very slow way to do
subscripting.
If you do need subscripting and something more than what I've done the attached
script, then I would suggest now's a good time to start learning perl :-)
--Harry Moreau-------------
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:06 GMT