I'd like to search a file for the first occurence of the phrase "PLASTICS THAT EXPIRE" and then discard all the lines that came before it. Output the remainder to a new file. Operating system is hp-ux. I've searched for usual awk and sed one liners but can't find a solution.
Thanks for your help. Now for the follow up (you knew there had to be more, eh?).
If I set a variable to the line number found by the cat | grep, how do I get sed or tail to recognize it? So far I've got: