本当です. 世界最速のgrep 作りました. このネタで学会発表とかしました. #=> JSSST, プログラミング・シンポジウム 「動的なコード生成を用いた正規表現マッチャの実装」 最近... 「世界最速のgrep」とはしゃいでも研究室内で相手にされなくなってきました. 先輩「へぇ, そうなの.」 同僚「はいはい最速最速.」 後輩「grepってなんですか?」 先生「そんなことより並列化は? 英語で論文書いて. PS3上で動かして.....」
(Click the image for a larger screenshot.) TextMate is an amazing editor, but its built-in "Find in Project" sucks. With larger projects, it's quite slow and will easily freeze the application for a good while. grep is better, but switching to the command line gets annoying, and it lacks integration with TextMate – you can't jump straight to a matching document. What it lacks in project search, Te
Vim7 から、内蔵の grep プログラムが使えるようになっている。との情報を「grep を使いやすくする」のコメントでいただいた。結論から言うと内蔵 grep は便利。 vimgrep を使う Vim7 内蔵の grep を使うには :vimgrep コマンドを使えばよい。 :vimgrep /hogehoge/ *.txt 最初にマッチしたファイルを開かないようにするには j フラグを使う。 :vimgrep /hogehoge/j *.txt 再帰的に検索するには **(starstar) を使う。 :vimgrep /hogehoge/j **/*.txt 検索結果は Quickfixリストに表示される。:copen で開き :ccl で閉じることができる。詳細は :he quickfix-window。 vimgrep をデフォルトの grep プログラムとして使用する :gr
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く