This is in reference to a question I posted yesterday http://stackoverflow.com/questions/1925284/searching-a-file-in-3-different-ways
I just require help now on two things, searching a file and and printing the line a search result is found on and all the lines after it to the end of the file.
Lastly i need help on coding were i search a file and print the line a search result is found on and a number of lines before and after the the search result. The number of lines printed before and after the search result is defined by the user and is the before/after amount of lines are the same.