Hi All,
Hope you guys had a wonderful weekend
I have a scenario where in which I have to read a file line by line
and check for few words before redirecting to a file
I have searched the forum but,either those answers dint work (perhaps because of my wrong under standing of how IFS works).
Requirement
file1.txt
================================
The world is a wonderful place to stay
Moon is a satellite of earth
Happiness an fun is all that matters in the world
I have words in a file that require separate handling,as part of my requirement I need to parse the file word by word for each line
example
arr[0]=the
arr[2]=world
.
.
arr[7]=stay
That would be the output of first parse
Thanks ! for your help,its always a fun
to come to this forum