/python/engine/PinYin/tools/add_len.awk
http://scim-python.googlecode.com/ · AWK · 5 lines · 4 code · 0 blank · 1 comment · 0 complexity · 03884d701fe2abeb8e1913f679fa1cc5 MD5 · raw file
- #!/usr/bin/gawk -f
- {
- _len = length ($1)
- printf "%d\t%s\n", _len, $0
- }