I need to remove all lines after the last line that contains the word "fox"
Say for example for the following input file "in.txt"
T