Created
September 27, 2012 01:19
-
-
Save irasally/3791637 to your computer and use it in GitHub Desktop.
同じ単語がいくつ出てきたかを調べるコマンド
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
$ cat some.log | sort | uniq -c | sort -n | |
1 id:0000123 success. [335 msec] | |
1 id:0000456 success. [320 msec] | |
1 id:0001234 success. [318 msec] | |
1 use TABLE3_0000000001 | |
2 use TABLE1_0000000001 | |
4 use TABLE2_0000000001 | |
#### some.log | |
use TABLE1_0000000001 | |
id:0000123 success. [335 msec] | |
use TABLE1_0000000001 | |
use TABLE2_0000000001 | |
id:0000456 success. [320 msec] | |
use TABLE2_0000000001 | |
id:0001234 success. [318 msec] | |
use TABLE2_0000000001 | |
use TABLE3_0000000001 | |
use TABLE2_0000000001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment