Highway
:zap: High performance source code search tool
Install / Use
/learn @tkengo/HighwayREADME
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
.gitiginoreby 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
Install building dependencies
- gperftools
- autoconf
- automake
Run follow commands
$ git clone git@github.com:tkengo/highway.git
$ cd highway
$ ./tools/build.sh
And then, the binary named hw is created in highway's root directory.
License
The MIT License (MIT)
Copyright (c) 2015 Kengo Tateishi
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
