paleogryph
MIS
I am trying to create a basic script that needs to read the contents of a file into an array. I have read some of the posts here but nothing seems to work, I think because I'm using bash on RH8. I know for sure that "set -A" won't work in this version of bash.
The file to be read has one entry per line, nothing complex.
I understand how to access and manipulate the array elements once they are in there, but getting the contents of the file into it has been tricky.
Any ideas will be appreciated.
>Think for yourself<
...or someone else will do it for you.
The file to be read has one entry per line, nothing complex.
I understand how to access and manipulate the array elements once they are in there, but getting the contents of the file into it has been tricky.
Any ideas will be appreciated.
>Think for yourself<
...or someone else will do it for you.