google / codesearch

Fast, indexed regexp search over large file trees

Home Page:http://swtch.com/~rsc/regexp/regexp4.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Corrupt output for files without a final newline

masiulaniec opened this issue · comments

$ echo -n aaa > a
$ echo bbb > b
$ cindex .
2015/07/14 18:49:45 index /tmp/t
2015/07/14 18:49:45 flush index
2015/07/14 18:49:45 merge 0 files + mem
2015/07/14 18:49:45 7 data bytes, 154 index bytes
2015/07/14 18:49:45 merge /Users/jacekm/.csearchindex /Users/jacekm/.csearchindex~
2015/07/14 18:49:45 done
$ csearch -n .
/tmp/t/a:1:aaa/tmp/t/b:1:bbb
$