#author("2019-11-22T23:20:30+00:00","","")
#topicpath


///////////////////////////////////////////////////////////////////////////////
* 目次 [#p63d201f]
#contents();

///////////////////////////////////////////////////////////////////////////////
* ripgrep [#qf8f4cb3]
- ripgrep は、grep の高速な代替コマンド。

///////////////////////////////////////////////////////////////////////////////
* build [#pba858da]
- debian9 にはパッケージがないので、使うのであればビルドする必要がある。
- build には cargo (The Rust package manager) が必要なので、入ってない場合は入れる。
 # apt-get install cargo
+ ソースコードの取得
 $ git clone https://github.com/BurntSushi/ripgrep.git
 $ cd ripgrep
 $ git co refs/tags/0.9.0
+ README.md の記載に従いビルドする
 $ cargo build --release
+ ビルド出来たか確認する
 $ ./target/release/rg --version
+ ビルドして出来たコマンドの場所に環境変数 PATH を通すか、コマンドファイルを PATH の通っているところに移す。

///////////////////////////////////////////////////////////////////////////////
* 参考リンク [#k9d53c87]
- [[新世代grep 'ripgrep' - エクセレンス★ブログ>https://www.excellence-blog.com/2019/05/10/%E6%96%B0%E4%B8%96%E4%BB%A3grep-ripgrep/]]
- [[第579回 高速で便利なgrep「ripgrep」を活用する:Ubuntu Weekly Recipe|gihyo.jp … 技術評論社>https://gihyo.jp/admin/serial/01/ubuntu-recipe/0579]]
- [[ripgrep.el>http://emacs.rubikitch.com/ripgrep/]]

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS