#14336 closed bug (fixed)
TextSearch won't accept "--with-..." as search terms
Reported by: | KapiX | Owned by: | phoudoin |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Applications/TextSearch | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #15650 | Blocking: | |
Platform: | All |
Description
It seems it's passing the term to grep unescaped, and grep fails with "unrecognized argument".
Change History (7)
comment:2 by , 6 years ago
It doesn't work in both cases. Exact term: --with-theme
in libreoffice's source directory.
comment:4 by , 5 years ago
Blocked By: | 15650 added |
---|
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
Note:
See TracTickets
for help on using tickets.
with Regular Expression enabled of not? A quick check show that
grep -F "--with-..."
wortks, butgrep "--with-..."
I guess when Regular Expression is enabled, the -e option should be explicitly passed then, as `grep -e "--with-..." works as expectedhttps://github.com/haiku/haiku/blob/master/src/apps/text_search/Grepper.cpp#L272
argv[argc++] = fRegularExpression ? "-e" : "-F";