perl -ne 'print unless /^\d{4}\.\d\d\.\d\d$/../^\s*$/'
abc 2017.01.01 block block not a block 2017.01.02 ... ... ...
abc not a block
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!