Bash shell - AWK print text file removing first two blank lines that contain \n

I have a text file with some information that im trying to process. I want to remove the first two blank lines that only have \n
on them, but I need to keep the rest of the lines below that with their respective \n characters. How would I use AWK to read
the file, remove the first two lines and leave the rest alone without removing their newlines?

Thanks in advance!
Who is Participating?
awk '(p<2){if(NF==0){p++;next;}}{print}' file
cybrthugAuthor Commented:
Thank you sir, excellent.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.