in reply to Re: grep only lines having matched pattern
in thread grep only lines having matched pattern

You wrote: "My understanding of your requirement is that you only want to accept lines starting with a date not followed by a dash and a non-zero digit."

My understanding is different.
"not followed by a dash" is sufficient.

  • Comment on Re^2: grep only lines having matched pattern