Scribble at 2025-10-21 09:46:07 Last modified: unmodified

添付画像

ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files. (To disable all automatic filtering by default, use rg -uuu.) ripgrep has first class support on Windows, macOS and Linux, with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.

ripgrep (rg)

Windows でも使えるファイル検索ツールということで、choco を使ってみたが、パッケージは見当たらないとのことで、リポジトリを変えないと(あるいは追加しないと)いけないのかもしれない。まぁ、この手のコマンドは Linux で使うのが順当だろうから、Windows で無理に使うつもりはないので、これ以上は調べる気にもならない。

こういう小さなツールを色々と使って紹介するのは楽しそうだし、実際に AIDE のようなセキュリティ・ツールを使ってページを作ったことはあるのだが、どうも最近は意欲がない。まず FreeBSD で動くツールしか使う気がしないのだけど、FreeBSD のサーバを構築する機会を失ってしまっている。AWS にサーバを建てて遊ぶにしても、それなりにお金は必要だ。それから、これまでは会社にテスト・サーバとして FreeBSD のマシンを持っていたのだけれど、既にリモート・ワークを導入して5年が過ぎてしまった現状では、デスクトップ・マシンを社内に置く理由も意味もない。それに、WeWork のネットワークに外部からターミナルで入るための色々な事務手続きも面倒な気がする。

  1. もっと新しいノート <<
  2. >> もっと古いノート

冒頭に戻る