キモブロ

Please spy check please, Fucking retard

grepの--excludeはディレクトリにマッチしないので--exclude-dirを使ったほうがいいらしい

12:39 tokuhirom: ふと
12:39 tokuhirom: http://kimoto.hatenablog.com/entry/2012/08/15/154624
12:39 tokuhirom: これためしてみたんですが
12:40 tokuhirom: --exclude=".git" っていう指定、きいてない気がする
12:40 tokuhirom: ./.git/rr-cache/2634536044fbec0997e4d43a0dec595786a5575f/postimage:144:
12:40 tokuhirom: とかひっかかる
12:40 kimoto: あら
12:40 kimoto: 複数だめだったかn
12:40 kimoto: どうにかして複数指定できたと思うんですが
12:41 tokuhirom: oh
12:42 kimoto: --exclude-dir
12:42 kimoto: これかも
12:42 kimoto: そもそも--exclude-dirじゃないとDIRがマッチングしないのかな
12:42 tokuhirom: --exclude-dir は手元の centos だとまだ実装されてないなw
12:43 tokuhirom: 残念
12:43 kimoto:       --exclude=GLOB
12:43 kimoto:              Skip files whose base name matches GLOB (using wildcard matching).  A file-name glob can  use
12:43 kimoto:              *, ?, and [...]  as wildcards, and \ to quote a wildcard or backslash character literally.
12:43 kimoto:       --exclude-dir=DIR
12:43 kimoto:              Exclude directories matching the pattern DIR from recursive searches.
12:43 kimoto: わりと新しい機能なのかー
12:43 kimoto: なんか.git以下でマッチしたことあんまないので今まで気づかなかったですね
12:43 tokuhirom: なるほど
12:43 kimoto: あんまというか一切記憶にない
12:43 tokuhirom: ack foo
12:43 tokuhirom: ってしたからかなw
12:44 kimoto: このへんのチャットコピペしてブログ記事にしていいですか?
12:45 YappO: ひどいこと書くのかとおもったら、存外まじめだった
12:45 kimoto: 5
12:45 kimoto: 4
12:45 kimoto: 3
12:45 kimoto: 2
12:45 kimoto: 1
12:45 kimoto: 0
12:45 kimoto: 書きます
12:45 tokuhirom: どうぞw