タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

ackに関するChiseiのブックマーク (5)

  • GitHub - ggreer/the_silver_searcher: A code-searching tool similar to ack, but faster.

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    GitHub - ggreer/the_silver_searcher: A code-searching tool similar to ack, but faster.
    Chisei
    Chisei 2013/03/01
    ackよりもわずかに早かった。
  • ackを捨てて、より高速なag(The Silver Searcher)に切り替えた - Glide Note

    Geoff’s site: The Silver Searcher: Better than Ack ggreer/the_silver_searcher · GitHub パターン検索にはackを利用していて、通常利用時には特に不満は無かったんですが、 ファイル数が多いディレクトリだと遅かったので、もっと他の方法が無いかと調べていたら ackの3〜5倍速いというThe Silver Searcherというものが あったので導入。 The Silver Searcherの特徴 公式に書いてあるThe Silver Searcherの特徴 ackの3〜5倍高速 .gitignore、.hgignoreに記載されているものを検索対象から除外 検索対象から除外したいファイルは.agignoreに記載 agというコマンド名で、ackと比べてコマンドが短い(33%減!) なぜ高速なのかは https

    Chisei
    Chisei 2013/03/01
    入れてみよう
  • ackコマンド - Y's note

    目次 概要 設定 port install コマンドを作る cpan install 設定ファイル コマンドの実例 通常検索 検索対象から外す 全部検索 Pager指定 ファイルタイプ指定 大小文字区別なし ファイル検索 ファイルパス名の正規表現指定 ファイルパス+ファイル名の正規表現指定 完全一致検索 指定単語の前後行出力 一致したファイル名を出力 再起的に検索しない group指定を外す 検索対象から特定ディレクトリを外す キャラ表示 デフォルト指定? 概要 ackコマンド ソースコード検索はgrepが有名だが、より強力なツールと言われるackを試してみる。 grepより処理が早い。(設定ファイルなど無視) grepより文法が短くて済む。 grepと文法が似ている。 grepの機能がほとんど使えて、findの要素も持つ。 Perlで書かれていてwindowsでも動く。 Perlの正規

    ackコマンド - Y's note
    Chisei
    Chisei 2013/01/21
  • ack使い方メモ - アルパカDiary Pro

    ※2010/4/18 パイプを使った例 を追記しました 先々週くらいから、vim上からackを使った「ディレクトリ以下のファイル一括置換」を行うvimスクリプト書いたりしてました。 でもなんかしっくりこないので公開するかどうかは微妙… ちなみにackは簡単に言うと「find+grep」を一発実行するようなものです。 ハイライトなども対応しているし、他のコマンドに結果をパイプして渡したりするのにも使えるので 激しく便利。 で、そのためにいろいろack調査してたのですが、 日語の説明があまりなかったので使い方などをメモ書きしておきます。 ちなみに、以下の実行例についてはplaggerのソースを検索した結果になっています。 インストール cpan App::Ack でok。 yumとかapt-getでもパッケージあるようですし、単一スクリプトとしても提供されているようです。 詳しくはこちらのH

    ack使い方メモ - アルパカDiary Pro
    Chisei
    Chisei 2013/01/21
  • Beyond grep: ack 2.12, a source code search tool for programmers

    ack is a grep-like source code search tool. The latest version of ack is v3.9.0, released 2025-05-26. Changelog for v3.9.0 Designed for programmers with large heterogeneous trees of source code, ack is written in portable Perl 5 and takes advantage of the power of Perl's regular expressions. What's new in ack? New boolean options --and, --or and --not The new repeatable --and, --or and --not optio

    Chisei
    Chisei 2012/12/28
  • 1