Changes between Version 2 and Version 3 of Ticket #9529, comment 14


Ignore:
Timestamp:
Sep 11, 2017, 3:51:46 PM (2 years ago)
Author:
phoudoin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9529, comment 14

    v2 v3  
    1 Maybe an intermediate solution could be used here: TextSearch could be piping the list of  null-terminated file names strings to search to a `xargs -n 10 --null grep SEARCH_PATTERN` command?
     1Maybe an intermediate solution could be used here: TextSearch could be piping the list of  null-terminated file names strings to search to a `xargs --null grep SEARCH_PATTERN` command?
    22
    33That would level grep power without having to rewrite it in TextSearch...
     4We could even parallelize the search that way:
     5
     6`xargs --null --max-procs=NB_CPU grep -n SEARCH_PATTERN`