Need to remove a selection of rows separated by blank lines

hello, here is an example:


9.07
9.05
0.00
2.28
0.00
0.08
1.93
3.62
10.97

12.03
12.03
0.00
2.73
0.00
0.07
2.13
2.43
21.95

i wish to remove the first block of data, it is separated by blank lines above and below this. Please note that the data will constantly change with a new file so i am looking for a generic command not something that picks up specific numbers. I am relatively new to linux and i cant seem to figure out the exact command that needs to be used.

It will print all the values after first blank line..:slight_smile:

awk 'NR>1' RS= file
1 Like

Thank you very much, it seemed to have worked. Testing it out now

awk 'NF==0{a=1}a' input.txt