Subject: Re: bug#56077: Pattern Beginning With Dash Throws Error

From: Paul Eggert <[email-masked]>
Date: Sat, 18 Jun 2022 16:49:58 -0500

On 6/18/22 15:05, gazip--- via Bug reports for GNU grep wrote:
> I just encountered a problem where when the search pattern starts with a dash, grep interprets it as an argument parameter.

That's normal for grep. See question 3 of:

https://www.gnu.org/software/grep/manual/html_node/Usage.html