Trying figure out how to read txt file line by line and store it into an array: How to modify IFS command to accept an array?
index=0;
while IFS= read -r line; do
#echo "$line"
#let index=index+1
#echo "$index"
done < myFile.txt
echo $line[0]
Thanks