Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP
High performance source code search tool
C C++
Latest commit f2ba8fe @tkengo Bugfix for after context

README.md

Highway

A fast pattern matching tool like pt and ag.

Features

  • It can search the PATTERN from your source code very fast.
  • It can search also the PATTERN as a regular expression.
  • It supports UTF-8 and some Japanese encodings (Because I'm Japanese :yum: EUC-JP and Shift_JIS is supported).
  • It ignores file patterns form your .gitiginore by default.

Installation

For OS X

$ brew tap tkengo/highway
$ brew install highway

For Fedora Core

$ sudo vi /etc/yum.repos.d/highway.repo
[repos.highway]
name=highway
baseurl=http://tkengo.github.io/highway/fedora
enabled=0
gpgcheck=0

$ sudo yum install highway --enablerepo="repos.highway"

Usage

# You can search PATTERN from current directory recursively.
$ hw PATTERN

# You can specify options and some paths.
$ hw OPTIONs PATTERN PATHs

# You can check options
$ hw -h

Building from source

  1. Building dependencies:

  • gperftools
  • autoconf
  • automake

  1. Run follow commands:
$ git clone git@github.com:tkengo/highway.git
$ cd highway
$ ./tools/build.sh

License

The MIT License (MIT)

Copyright (c) 2015 Kengo Tateishi

Something went wrong with that request. Please try again.