Hi all;
How would I split the following data into fields?
test.txt
sean;happy;dsafdsaf
sarah;sad;fdsadsaf
henry;lost;afdfdsff
I am trying a loop through the test.txt file and trying to process during each loop. Here is how far I have gotten:
Thanks for any and all help.
Sean.![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
How would I split the following data into fields?
test.txt
sean;happy;dsafdsaf
sarah;sad;fdsadsaf
henry;lost;afdfdsff
I am trying a loop through the test.txt file and trying to process during each loop. Here is how far I have gotten:
Code:
infile = "test.txt"
while read value ; do
### Split variables here
### Processing here
done < $infile
Thanks for any and all help.
Sean.
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)