expandables wrote:Hi i want to know how can i read a file line from front to back in BASH.
and
expandables wrote:I want to read a file line from the start of the word to the back of it for example the string 'raspberrybluepie',,,,,inth'
I want to read a word out of that string which is raspberry
Being able to define the problem is a good first step before you try to solve it, or before you ask others to solve it for you!
So in your example, how do you know where 'raspberry' ends and 'blue' begins?
Is this an 'artificial intelligence' or 'pattern matching' problem, where you look for a sequence of characters that represents an english word?