Subject: bug#30033: `grep --fixed-strings --regexp=…` is an annoying syntax → Introduce --pattern=… option

From: "H.-Dirk Schmitt" <[email-masked]>
Date: Mon, 08 Jan 2018 22:01:06 +0100

Hello!

just a minor annoyance is that there is no alternative option name for
--regexp=… 

Together with --fixed-strings this leads to ambiguous shell scripts.

My suggestion / feature request is to add --pattern=… as alias for 
--regexp=…

In addition I suggest the analog aliases:
  --word-pattern for --word-regexp
  --line-pattern for --line-regexp

In anticipation of the reply „Why not to use simply the short options?“
the reply:
Long options providing a readable API, and this „bug report“ is
intended to improve the readability of shell scripts.

Best Regards,

H.-Dirk Schmitt