in reply to Re: Reading a file from any arbitrary place in the file.
in thread Reading a file from any arbitrary place in the file.

Or, if you do not want to include the temp line:
sed -n "1,/This is the temp line/"!p infile > outfile