bug#27783: display help instead of pattern search

2017-07-21 Thread Eric Blake
tag 27783 notabug thanks On 07/21/2017 02:46 AM, PAYET Matthieu -EXT wrote: > Hello, > > Grep v2.6.3 > >> grep -ri "--help" . > > Displays the help message instead of searching for the requested pattern. Because you didn't tell grep the options were over. You want: grep -ri -- --help > Same

bug#27783: display help instead of pattern search

2017-07-21 Thread PAYET Matthieu -EXT
Hello, Grep v2.6.3 > grep -ri "--help" . Displays the help message instead of searching for the requested pattern. Same behavior for the pattern "--version" Matthieu P. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. I