I need some help on starting this code on the linux server!!
I need it to read a text file and search for a specific word.
The user would enter which word is to be serarched from what file and the line numbers to search through
typed in on the command line would be
filter 10 20 and file1
the above command searches in "file1" from the lines 10 to 20 for the word 'and'.
The output would be that each line from 10 to 20 which contains the word 'and' would be printed out!!
This is very hard for me as i do not have much understanding of this!!
Thanking you in advance