type grep which grep
It appears that you have an alias or other implementation of 'grep', and
that this is not a bug in GNU 'grep' per se. If you are using a shell
like 'bash', try these two shell commands to see which 'grep' you are
actually using.
- bug#24067: Bug Report : How to grep and treat meta character... bibek ghimire
- bug#24067: Bug Report : How to grep and treat meta char... Paul Eggert
- bug#24067: Bug Report : How to grep and treat meta ... bibek ghimire
- bug#24067: Bug Report : How to grep and treat m... Jim Meyering
- bug#24067: Bug Report : How to grep and tre... bibek ghimire