Closed vipzrx closed 6 years ago
➜ baohaojun_beagrep git:(master) ✗ cd /tmp; mkdir $$; cd $$; echo main > 1.txt; mkbeagrepidx; beagrep -e 'main' --grep '--color=auto'; true; cd ..; rm $$ -rf Debug: Using utf8 encoding for filenames Always: Will ignore directories matching regular expression: ^(?:/tmp/18776/out)$|^(?:.*/\.repo)$|^(?:.*/\.git)$ Always: Starting beagrep-build-index (pid 7811) at 4/25/2018 11:48:51 PM Debug: Purging /home/kk/.cache/system-config/for-code-reading/tmp/18776/.beagrep Debug: Starting IndexWorker Debug: Size: VmRSS=34.7 MB, size=1.00, 0.0% Debug: Scanned 2 files and directories in 1 directories Debug: -file:///tmp/18776 Debug: -file:///tmp/18776/1.txt Debug: Loaded 3 filters from /usr/local/lib/beagrep/Filters/Filters.dll Debug: Cannot read /home/kk/.cache/system-config/for-code-reading/tmp/18776/.beagrep/filterver.dat, assuming dirty filterver.dat Debug: Verifying filter_cache at /home/kk/.cache/system-config/for-code-reading/tmp/18776/.beagrep/filterver.dat ... cache is dirty ? True Debug: +file:///tmp/18776 Debug: +file:///tmp/18776/1.txt Debug: Optimizing index Debug: IndexWorker Done Debug: Elapsed time 3.01s. Done writing to /home/kk/.cache/system-config/for-code-reading/tmp/18776/.beagrep/StaticIndex.xml Always: Exiting beagrep-build-index (pid 7811) at 4/25/2018 11:48:54 PM sh: 1: cut-long-lines: not found xargs: grep: terminated by signal 13
It's in my system-config project, please consider use these projects together:D