Public bug reported:

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)

** Affects: codesearch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1243934

Title:
  cgrep won't search all indexed files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/codesearch/+bug/1243934/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to