My fork of codesearch for turning it into a C library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Macoy Madson ba1137fbdd Attempted to build static library with C reference 2 weeks ago
cmd Support search, disable arg parsing 2 weeks ago
index Make it possible to import csearch and index HACK 2 weeks ago
lib Make a clone of github.com/google/codesearch 7 years ago
regexp Make it possible to import csearch and index HACK 2 weeks ago
sparse Update contributors and suitable license texts 7 years ago
.gitignore Binaries release support 7 years ago
AUTHORS Update contributors and suitable license texts 7 years ago
CONTRIBUTORS Update contributors and suitable license texts 7 years ago
LICENSE Binaries release support 7 years ago
Makefile Minor makefile updates 2 years ago
README.md Update installation instructions 7 months ago
codesearch.go Attempted to build static library with C reference 2 weeks ago
go.mod Make it possible to import csearch and index HACK 2 weeks ago

README.md

A fork of Google Code Search to make it a more generally usable tool

To install this fork

With Go 1.16 or newer

cd /
go install github.com/junkblocker/codesearch/cmd/...@latest

With Go 1.15 or older

cd /
GO111MODULE=on go get -u github.com/junkblocker/codesearch/cmd/...

Prebuilt binaries

Old fork pre-"Google on Github" days

https://github.com/junkblocker/codesearch-pre-github

Original Google codesearch README content

Code Search is a tool for indexing and then performing
regular expression searches over large bodies of source code.
It is a set of command-line programs written in Go.
Binary downloads are available for those who do not have Go installed.
See https://github.com/google/codesearch.

For background and an overview of the commands,
see http://swtch.com/~rsc/regexp/regexp4.html.

To install:

    go get github.com/google/codesearch/cmd/...

Use "go get -u" to update an existing installation.

Russ Cox
rsc@swtch.com
June 2015