Macでステップ数をカウントする"Ohcount"が使えそうなのでメモ. Ohcount ライセンスの下調べもできる. 環境 Mac OS X Yosemite Homebrew 0.9.5 ohcount 3.0.0 インストール homebrewがあれば簡単. $brew install ohcount 使い方 ヘルプ $ohcount --helpでヘルプが出る. サマリ表示 カウントしたいフォルダで実行すると,言語別にカウントしたサマリを出力する. 集計結果が表組みで出力されて分かりやすい. コメント率も出るので親切な印象. 出力結果から見ると,ohcount -sと同じ効果. $cd /countTarger $ohcount Examining 451 file(s) Ohloh Line Count Summary Language Files Code Comment Co