/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

  1. #!/usr/bin/gawk -f
  2. {
  3. _len = length ($1)
  4. printf "%d\t%s\n", _len, $0
  5. }