Created
March 21, 2011 13:03
-
-
Save mix3/879419 to your computer and use it in GitHub Desktop.
useしてるものを取り出してみる
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep use lib/ -h -r | perl -e '%hash; while(<>){if(/use (\w+(::)?)+/){if($& =~ /use (.+)/){$hash{$1}++}}}; foreach(keys %hash){print $_."\n"}' | egrep -v 'strict|warnings|base' | xargs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment