perl -nE "print if /morgenstund/ ? $c=2 : --$c > 0; print \"--\n\" unless $c;" text.txt