projects
/
platform
/
upstream
/
libpinyin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add genpinyin2.awk
[platform/upstream/libpinyin.git]
/
scripts
/
genpinyin2.awk
1
#!/usr/bin/awk
2
{ if (length($2) == 2) pinyins[$1] += $4 }
3
4
END {
5
for (pinyin in pinyins) {
6
print pinyin, pinyins[pinyin]
7
}
8
}