In text file every line include some number of words. It looks like
split time not big
every cash flu green big
numer note word
swing crash car out fly sweet
How to split those lines and store it in array? I need to do with array something like this
for i in $file
do
echo "$array[0]"
echo "$array[2]"
done
Can anyone help?
for every_line_in File ; do item1=$array_form_line_0[0] item2=$array_form_line_0[3] doneitem1anditem2?