cgrep won't search all indexed files

Bug #1243934 reported by Nick Moffitt
6
This bug affects 1 person
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/nick/corpus/identica.log:18:23 <evan> @brydon You can a) turn off the privacy flag or b) ignore the public stream or c) @zach can talk to @twibble for you. Need more deetz.
    ~$ cgrep wibble
[Time passes...]
    ~$ cgrep wibble /home/nick/corpus/identica.log
    /home/nick/corpus/identica.log:18:23 <evan> @brydon You can a) turn off the privacy flag or b) ignore the public stream or c) @zach can talk to @twibble for you. Need more deetz.

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
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
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)

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.