for Smartphone

すぎゃーんメモ

2009-03-16

コミッタ毎のコミット数を集計するワンライナー

Subversion Perl OneLiner
$ svn log | grep ^r[0-9] | perl -MYAML -anle '$h{$F[2]}++;END{print Dump\%h}'

別にYAMLのDumpじゃなくてData::DumperのDumperを使ってもよい。

sugyan 2009-03-16 11:42

コミッタ毎のコミット数を集計するワンライナー
Bookmark this entry on Hatena::Bookmark
Tweet
  • Read more
Write a comment
« zsh始めてみる モンテカルロ法で円周率を求めるワンライ… »
Profile
id:sugyan id:sugyan Hatena Blog Pro

技術メモ とか

Subscribed unsubscribe Subscribe Subscribe
Search
Links
  • Twitter @sugyan
  • GitHub @sugyan
Recent Entries
  • 将棋駒画像データセットを公開する
  • YAPC::Tokyo 2019 に参加した
  • 電子工作 4作目・Corne Cherry
  • Mix Leap Study #29 で話をしてきた #mixleap
  • ぼくのかんがえたさいきょうのキーマップ への挑戦
Archive

Start using Hatena Blog!

sugyan is using Hatena Blog. Would you like to try it too?

Start using Hatena Blog (Free)
What is Hatena Blog?
すぎゃーんメモ すぎゃーんメモ

Powered by Hatena Blog | ブログを報告する

Star added

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe