cgrep won't search all indexed files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
codesearch (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The cgrep man page says:
CGREP(1) General Commands Manual CGREP(1)
NAME
cgrep - like grep(1) over all indexed files
SYNOPSIS
cgrep [-c] [-h] [-i] [-l] [-n] regexp [ file... ]
DESCRIPTION
Cgrep behaves like grep, searching for regexp, an RE2 (nearly PCRE)
regular expression.
Unfortunately, it seems to do no such thing:
~$ cindex corpus/
~$ csearch wibble
/home/
~$ cgrep wibble
[Time passes...]
~$ cgrep wibble /home/nick/
/home/
It seems that the files are not optional, which is baffling given csearch's
default-everything behaviour and the documented behaviour in the first two
substantive lines of the man page.
Otherwise, cindex/csearch are faboo!
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: codesearch 0.0~hg20120502-1
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Wed Oct 23 22:23:31 2013
Dependencies:
EcryptfsInUse: Yes
MarkForUpload: True
SourcePackage: codesearch
UpgradeStatus: Upgraded to saucy on 2013-09-17 (36 days ago)