I need to insert a page break (“\f”) in front of the first header line of a report, like this:
“\f”LP240 Date 06/21/10
I’m using the following awk code:
awk '{sub("LP240","\fLP240");print}' inputfile > outputfile
This works and inserts the page break, but I only want to do this for the...