Changes between Initial Version and Version 1 of Ticket #14336, comment 1


Ignore:
Timestamp:
Aug 9, 2018, 10:03:19 AM (6 years ago)
Author:
phoudoin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14336, comment 1

    initial v1  
    11with Regular Expression enabled of not?
    2 A quick check show that `grep -F "--with-..."` wortks, but `grep "--with-..."`
    3 I guess when Regular Expression is enabled, the -e option should be explicitly passed then, as `grep -e "--with-..." works as expected
     2
     3A quick check shows that `grep -F "--with-..."` works, but `grep "--with-..."` doesn't.
     4
     5I guess when Regular Expression is enabled, the -e option should be explicitly passed then, as `grep -e "--with-..." works as expected.
    46
    57https://github.com/haiku/haiku/blob/master/src/apps/text_search/Grepper.cpp#L272
    68
    7 `argv[argc++] = fRegularExpression ? "-e" : "-F";`
     9{{{
     10argv[argc++] = fRegularExpression ? "-e" : "-F";
     11}}}