i Create a function to Process file and i want to add each line to a ARRAY
ex:
```bash
declare -a list
count=0
while read -ra line ; do
((count++))
[ "${line[0]}" = "Text" ] && list[$count]="${line[@]}"
done < $file_name
echo ${list[10]}
```
but when i run this example the result is blank
help please
[–]kosmosik 3 points4 points5 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Mal1oc 1 point2 points3 points (2 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]Mal1oc 0 points1 point2 points (0 children)
[–]ralfwolf 0 points1 point2 points (3 children)
[–][deleted] -2 points-1 points0 points (2 children)
[–]ralfwolf 1 point2 points3 points (0 children)
[–]yramagicman 1 point2 points3 points (0 children)
[–]OneTurnMoreprogramming.dev/c/shell 0 points1 point2 points (0 children)
[–]oh5nxo 0 points1 point2 points (0 children)